{"id":"GHSA-934x-72xh-5hrg","summary":"OS command injection in aws-lambda","details":"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\".","aliases":["CVE-2019-10777"],"modified":"2026-03-13T22:11:37.044509Z","published":"2020-02-14T23:09:45Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-78"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-02-13T19:57:58Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10777"},{"type":"WEB","url":"https://github.com/awspilot/cli-lambda-deploy"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-AWSLAMBDA-540839"}],"affected":[{"package":{"name":"aws-lambda","ecosystem":"npm","purl":"pkg:npm/aws-lambda"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 1.0.4","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-934x-72xh-5hrg/GHSA-934x-72xh-5hrg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}