OS command injection in aws-lambda
Critical severity
GitHub Reviewed
Published
Feb 14, 2020
to the GitHub Advisory Database
•
Updated Jan 9, 2023
Description
Reviewed
Feb 13, 2020
Published to the GitHub Advisory Database
Feb 14, 2020
Last updated
Jan 9, 2023
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