CVE-2018-3772Whereis Project Whereis
Critical 9.8 No auth needed
Follow: this CVE · Whereis Project · Whereis Project Whereis We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 2.8% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Jul 30, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Whereis.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | whereis |
< 0.4.1 |
0.4.1 |
npm install whereis@0.4.1 |
Per OSV / GitHub Advisories (GHSA-wjr4-2jgw-hmv8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| whereis_project | whereis | < 0.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- hackerone.com Exploit Third Party Advisory