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-2014-3623 Vulnerability in maven package org.apache.wss4j:wss4j-ws-security-dom
CVE-2016-10735 Vulnerability in maven package org.webjars:bootstrap-sass
CVE-2019-1003048 Vulnerability in maven package com.programmingresearch:prqa-plugin
CVE-2022-21802 Vulnerability in npm package grapesjs
CVE-2016-1000343 Vulnerability in maven package org.bouncycastle:bcprov-jdk15on