Skip to content
Fencer Vulns
high 7.5

CVE-2017-16138 json

mime Regular Expression Denial of Service when MIME lookup performed on untrusted user input

published 2018-06-07 8 y ago modified 2026-10-07 32 d ago also GHSA-wrvr-8mpx-r7pp , EUVD-2018-0335

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm mime 1.4.1, 2.0.3
  • mime_project mime 1.4.1, 2.0.3
  • node-mime Debian 14, Debian 13, Debian 12 2.3.1-1

debian advisories DEBIAN-CVE-2017-16138

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-16138 updated cvss 5.3

nodejs-mime: Regular expression Denial of Service

  • Red Hat OpenShift Enterprise 3 nodejs-mime Red Hat Software Collections rh-nodejs4-nodejs-mime
    affected: no fix planned “Will not fix”
  • Red Hat Virtualization 4 ovirt-engine-dashboard
    affected: no fix planned “Out of support scope”
  • Red Hat Quay v3 quay/quay-rhel8 v3.6.0-62
    fixed: vendor fix RHSA-2021:3917
  • Red Hat Quay v3 quay/clair-rhel8 v3.6.0-70, quay/quay-builder-rhel8 v3.6.0-44, quay/quay-operator-rhel8 v3.6.0-43, quay/quay-operator-bundle v3.6.0-48, quay/quay-bridge-operator-rhel8 v3.6.0-40, quay/quay-bridge-operator-bundle v3.6.0-35, +3 more Red Hat Mobile Application Platform 4 rhmap-fh-aaa-docker, rhmap-fh-scm-docker, rhmap-fh-ngui-docker, rhmap-fh-mbaas-docker, rhmap-fh-statsd-docker, rhmap-fh-metrics-docker, +3 more Red Hat Virtualization 4 ovirt-engine-api-explorer, ovirt-engine-ui-extensions
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
32 d ago

Exploit prediction

2.12% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/broofa/node-mime/issues/167 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
npm mime
>=2.0.0, <2.0.3
<1.4.1
2.0.3
1.4.1

Affected products

  • HackerOne mime node module

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.