CVE-2019-10777
OS command injection in aws-lambda
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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".
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | aws-lambda | 1.0.5 |