ADVISORIES

GitHub Advisory Database

GHSA-934x-72xh-5hrg

OS command injection in aws-lambda

Critical CVE-2019-10777

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".

Affected packages

EcosystemPackageAffected versions
npmaws-lambda
All versions before 1.0.5 (fixed in 1.0.5)

References