Skip to content
OpenAdvisories
High · 7.5 CVE-2017-16138 EUVD-2018-0335GHSA-wrvr-8mpx-r7pp

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

Published Jun 7, 2018 · Updated Oct 7, 2026 · Assigned by hackerone

Description

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.

Affected products

VendorProductAffectedFixed
HackerOne mime node module < 1.4.1 || > 2.0.0 < 2.0.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-mime 2.3.1-1 —
Debian 13 node-mime 2.3.1-1 —
Debian 12 node-mime 2.3.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-mime No fix yet —
Ubuntu 16.04 LTS node-mime No fix yet —
Ubuntu 14.04 LTS node-mime No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm mime >= 2.0.0, < 2.0.3 2.0.3 GHSA-wrvr-8mpx-r7pp
npm mime < 1.4.1 1.4.1 GHSA-wrvr-8mpx-r7pp

References