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".
{
"github_reviewed": true,
"github_reviewed_at": "2020-02-13T19:57:58Z",
"cwe_ids": [
"CWE-78"
],
"severity": "CRITICAL",
"nvd_published_at": null
}