CVE-2019-10777:
OS command injection in aws-lambda
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.65481%
CWE
Published
2/14/2020
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
aws-lambda | npm | <= 1.0.4 | 1.0.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsanitized use of config.FunctionName in command construction. The Snyk advisory specifically references line 78 in lib/main.js where zipCmd is built using config.FunctionName. As this is passed directly to exec, the deploy function that orchestrates this process becomes the primary vulnerable entry point. The function name 'deploy' matches the CLI command and module's main interface for deployment operations.