Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. npm-dependency-versions
  4. ›
  5. CVE-2022-29080

CVE-2022-29080: Improper Neutralization of Special Elements used in a Command ('Command Injection')

April 12, 2022 (updated August 8, 2023)

The npm-dependency-versions package through 0.3.0 for Node.js allows command injection if an attacker is able to call dependencyVersions with a JSON object in which pkgs is a key, and there are shell metacharacters in a value.

References

  • github.com/barneycarroll/npm-dependency-versions/issues/6
  • nvd.nist.gov/vuln/detail/CVE-2022-29080
  • www.npmjs.com/package/npm-dependency-versions

Code Behaviors & Features

Detect and mitigate CVE-2022-29080 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 0.3.0

Solution

Unfortunately, there is no solution available yet.

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')

Source file

npm/npm-dependency-versions/CVE-2022-29080.yml

Spotted a mistake? Edit the file on GitLab.

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

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