CVE-2019-10777

In aws-lambda versions prior to version 1.0.5, the "config.FunctioName" is used to construct the argument used within the "exec" function without any…

published January 8, 2020

CVSS
—
EPSS
2%
Percentile
76.2
In the wild
Unconfirmed
What it is

⚠️ A sneaky oversight in aws-lambda could let an attacker run arbitrary commands! Without proper sanitization in `config.FunctionName`, your command execution is at risk. 🔥 Think of it like a restaurant kitchen that accepts any order without checking the menu. If someone slips in a crazy request, the chef might accidentally whip up a dish nobody wanted! An attacker could inject malicious commands into the `zipCmd`, potentially compromising your application and executing unwanted operations. While it hasn't been exploited yet, the possibility is absolutely devastating if left unaddressed!

Put simply

Think of it like a restaurant kitchen that accepts any order without checking the menu. If someone slips in a crazy request, the chef might accidentally whip up a dish nobody wanted! This vulnerability arises because `config.FunctionName` is used to construct arguments for the `exec` function without proper input sanitization, allowing user-supplied input to dictate executed commands.

What to do

An attacker could inject malicious commands into the `zipCmd`, potentially compromising your application and executing unwanted operations. While it hasn't been exploited yet, the possibility is absolutely devastating if left unaddressed! Upgrade aws-lambda to version 1.0.5 or later immediately to fix this vulnerability. Additionally, review how inputs are sanitized in your command execution functions to ensure safe operations. 🛡️ You've got this! Stay proactive and secure your applications with these fixes! 🌟

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01644 · 76.2th percentile
Published
2020-01-08T16:13Z
EPSS history
Timeline
  • 08 JAN 16:13Z
    In aws-lambda versions prior to version 1.0.5, the "config.FunctioName" is used to construct the argument used within the "exec" function without any…
    cvelistv5