CVE-2020-7631 json
OS Command Injection in diskusage-ng
published 2020-04-06 6 y ago modified 2026-06-17 4 mo ago also GHSA-3269-x4pw-vffg , EUVD-2022-0430
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.9%
- EPSS 3.9% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
diskusage-ng through 0.2.4 is vulnerable to Command Injection.It allows execution of arbitrary commands via the path argument.
Exploit prediction
3.86% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-DISKUSAGENG-564425 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/iximiuz/node-diskusage-ng/blob/master/lib/posix.js#L11 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 | diskusage-ng | <=0.2.4 |
no fix listed |
Affected products
- n/a diskusage-ng
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
snyk.io
/vuln/SNYK-JS-DISKUSAGENG-564425
web, exploit
-
github.com
/iximiuz/node-diskusage-ng/blob/master/lib/posix.js#L11
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7631
advisory
Sources
- CVE List CVE-2020-7631
- GitHub Advisory GHSA-3269-x4pw-vffg
- NVD CVE-2020-7631
Fencer Vulns 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.