Critical, CVSS 9.8npmAmendedPublished
OS command injection in aws-lambda
CVE-2019-10777 · GHSA-934x-72xh-5hrg
- Affected
- npm aws-lambda <= 1.0.4
- Fixed in
- 1.0.5· Vendor fix available
- Issue
- 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".
Recommended action: Upgrade to 1.0.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.