CVE-2017-16138Mime Project Mime
High 7.5 No auth needed
Follow: this CVE · Mime Project · Mime Project Mime We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 82
- Auth required
- No
- Published
- Jun 7, 2018
- Updated
- Oct 7, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
The mime module < 1.4.1, 2.0.1, 2.0.2 is vulnerable to regular expression denial of service when a mime lookup is performed on untrusted user input.
What to do
- Apply the vendor's security update for Mime.
- 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 | mime |
≥ 2.0.0 < 2.0.3 |
2.0.3 |
npm install mime@2.0.3 |
| npm | mime |
< 1.4.1 |
1.4.1 |
npm install mime@1.4.1 |
Per OSV / GitHub Advisories (GHSA-wrvr-8mpx-r7pp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mime_project | mime | < 1.4.1 |
| mime_project | mime | ≥ 2.0.1 < 2.0.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- nodesecurity.io Third Party Advisory