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-2023-39154 Vulnerability in maven package com.qualys.plugins:qualys-was
CVE-2022-24429 Vulnerability in npm package convert-svg-core
CVE-2018-1000407 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2016-10646 Vulnerability in npm package resourcehacker
CVE-2022-34870 Vulnerability in maven package org.apache.geode:geode-pulse