GitHub Advisory Database
GHSA-934x-72xh-5hrg
OS command injection in aws-lambda
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | aws-lambda | All versions before 1.0.5 (fixed in 1.0.5) |