Concatenating unsanitized user input in the `whereis` npm module < 0.4.1 allowed an attacker to execute arbitrary commands
Published Jul 30, 2018
9.8
CRITICALCVSS 3.0
EPSS 2.76%
Description
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.
Affected products
- Vendor n/a Product Whereis Defaultn/a
- Version >= 0.4.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Whereis | n/a |
|
- < 0.4.1
No data.
No Red Hat product state for this CVE.
whereis
npm
Introduced 0 Fixed 0.4.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | whereis | 0 | 0.4.1 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.76% (0.02760) | 85.74th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.76% (0.02760) | 84.30th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.29% (0.00290) | 69.36th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.29% (0.00290) | 68.16th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.29% (0.00290) | 64.12th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.73% (0.00731) | 20.40th | v1 |
| Jan 6, 2022 | 0.73% (0.00731) | 19.82th | v1 |
| Sep 1, 2021 | 0.73% (0.00731) | 49.19th | v1 |
| Apr 14, 2021 | 0.73% (0.00731) | 0.00th | v1 |
References (5)
- https://github.com/advisories/GHSA-wjr4-2jgw-hmv8 Advisory
- https://github.com/vvo/node-whereis/commit/0f64e3780235004fb6e43bfd153ea3e0e210ee2b
- https://hackerone.com/reports/319476 x_refsource_MISCExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-3772
- https://www.npmjs.com/advisories/604
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-wjr4-2jgw-hmv8 | Advisory | |
| https://github.com/vvo/node-whereis/commit/0f64e3780235004fb6e43bfd153ea3e0e210ee2b | ||
| https://hackerone.com/reports/319476 | x_refsource_MISCExploitThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-3772 | ||
| https://www.npmjs.com/advisories/604 |
Change history (0)
No recorded changes yet.