Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. shell-quote
  4. ›
  5. CVE-2016-10541

CVE-2016-10541: Code Injection

May 31, 2018 (updated October 9, 2019)

The npm module shell-quote cannot correctly escape > and < operator used for redirection in shell. Applications that depend on shell-quote may also be vulnerable. A malicious user could perform code injection.

References

  • nvd.nist.gov/vuln/detail/CVE-2016-10541

Code Behaviors & Features

Detect and mitigate CVE-2016-10541 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.6.0

Fixed versions

  • 1.6.1

Solution

Upgrade to version 1.6.1 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/shell-quote/CVE-2016-10541.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:45 +0000.