CVE-2022-29080
CRITICAL 9.8CVSS 3.1Command injection in npm-dependency-versions
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.
- Published
- 12 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-77CWE-78
- Also known as
- GHSA-m7xq-8jp8-rj2c
- Sources
- NVDJSONOSV GHSA-m7xq-8jp8-rj2cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | npm-dependency-versions_project | npm-dependency-versionscpe:2.3:a:npm-dependency-versions_project:npm-dependency-versions:*:*:*:*:*:node.js:*:* |
<= 0.3.0 | |
| OSV | npm | npm-dependency-versions | <= 0.3.0 |
References
- https://github.com/barneycarroll/npm-dependency-versions/issues/6 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://www.npmjs.com/package/npm-dependency-versions · Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-29080 · ADVISORY
- https://github.com/barneycarroll/npm-dependency-versions · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 12 Apr 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Apr 2022)