CVE-2022-29080 json
Command injection in npm-dependency-versions
published 4y ago modified 4mo ago also GHSA-m7xq-8jp8-rj2c , EUVD-2022-1781
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2022-29080 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.18% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/barneycarroll/npm-dependency-versions/issues/6 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | npm-dependency-versions | <=0.3.0 |
no fix listed |
Classification
References
-
github.com
/barneycarroll/npm-dependency-versions/issues/6
web, exploit, issue-tracking, third-party-advisory
-
npmjs.com
/package/npm-dependency-versions
web, product, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-29080
advisory
-
github.com
/barneycarroll/npm-dependency-versions
package
Sources
- CVE List CVE-2022-29080
- GitHub Advisory GHSA-m7xq-8jp8-rj2c
- NVD CVE-2022-29080
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.