CRITICAL9.8
GHSA-934x-72xh-5hrg
OS command injection in aws-lambda
Quick fix
GHSA-934x-72xh-5hrg — aws-lambda: upgrade to the fixed version with the command below.
npm install aws-lambda@1.0.5Details
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".
Are you affected?
Enter the version of the package you're using.