Live threats

All CVEs / Mime Project

CVE-2017-16138Mime Project Mime

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mime.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
mime_projectmime< 1.4.1
mime_projectmime≥ 2.0.1 < 2.0.3

Official sources

References

Links published by the sources. Open them with care.