9.8crit
CVE-2018-3772
Command Injection in whereis
Also known as GHSA-wjr4-2jgw-hmv8
Published 8 y ago · modified 4 mo ago · JSON
CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.8%
percentile 86%
Public exploits
0
none known
Summary
Concatenating unsanitized user input in the `whereis` npm module < 0.4.1 allowed an attacker to execute arbitrary commands. The `whereis` module is deprecated and it is recommended to use the `which` npm module instead.
Exploit prediction (EPSS)
2.76% probability of exploitation in the next 30 days, higher than 86% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/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.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | whereis | <0.4.1 | 0.4.1 |
Affected products
- https://github.com/vvo whereis
Classification
References
- hackerone.com /reports/319476 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2018-3772 · advisory
- github.com /vvo/node-whereis/commit/0f64e3780235004fb6e43bfd153ea3e0e210ee2b · web
- github.com /advisories/GHSA-wjr4-2jgw-hmv8 · advisory
- npmjs.com /advisories/604 · web
Sources
- CVE List: CVE-2018-3772
- GitHub Advisory: GHSA-wjr4-2jgw-hmv8
- NVD: CVE-2018-3772
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.