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".
Remediation
References
https://snyk.io/vuln/SNYK-JS-AWSLAMBDA-540839
Related Vulnerabilities
CVE-2020-28168 Vulnerability in maven package org.webjars.npm:axios
CVE-2020-7681 Vulnerability in npm package marscode
CVE-2022-31151 Vulnerability in maven package org.webjars.npm:undici
CVE-2023-24789 Vulnerability in maven package org.jeecgframework.boot:jeecg-boot-parent
CVE-2020-9498 Vulnerability in maven package org.apache.guacamole:guacamole