GHSA-934x-72xh-5hrg
OS command injection in aws-lambda
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | aws-lambda | < 1.0.5 | 1.0.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
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".
References
External links from the advisory. They lead to third-party sites.