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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | aws-lambda | All versions prior to version 1.0.5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | aws-lambda | < 1.0.5 | 1.0.5 | GHSA-934x-72xh-5hrg |