### [CVE-2019-10777](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10777) ![](https://img.shields.io/static/v1?label=Product&message=aws-lambda&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Command%20Injection&color=brighgreen) ### 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". ### POC #### Reference - https://snyk.io/vuln/SNYK-JS-AWSLAMBDA-540839 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/ossf-cve-benchmark/CVE-2019-10777