Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. aws-lambda
  4. ›
  5. CVE-2019-10777

CVE-2019-10777: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

February 14, 2020 (updated August 19, 2021)

In aws-lambda versions, 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”.

References

  • github.com/advisories/GHSA-934x-72xh-5hrg
  • github.com/awspilot/cli-lambda-deploy
  • nvd.nist.gov/vuln/detail/CVE-2019-10777
  • snyk.io/vuln/SNYK-JS-AWSLAMBDA-540839

Code Behaviors & Features

Detect and mitigate CVE-2019-10777 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.0.4

Fixed versions

  • 1.0.5

Solution

Upgrade to version 1.0.5 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/aws-lambda/CVE-2019-10777.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:15 +0000.