GitHub Advisoryadvisory · npm
GHSA-934x-72xh-5hrg OS command injection in aws-lambda
CRITICAL
Official page ↗
- Aliases
- CVE-2019-10777
- Ecosystem
- npm
- Packages
- aws-lambda
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2020-02-13
Affected packages
• npm aws-lambda: < 1.0.5 → fixed in 1.0.5
Description
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 sanitization. It is possible for a user to inject arbitrary commands to the "zipCmd" used within "config.FunctionName".
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness