Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXdydnItOG1weC1yN3Bw
mime Regular Expression Denial of Service when MIME lookup performed on untrusted user input
Affected versions of mime
are vulnerable to regular expression denial of service when a mime lookup is performed on untrusted user input.
Recommendation
Update to version 2.0.3 or later.
Permalink: https://github.com/advisories/GHSA-wrvr-8mpx-r7ppJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXdydnItOG1weC1yN3Bw
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 6 years ago
Updated: about 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-wrvr-8mpx-r7pp, CVE-2017-16138
References:
- https://nvd.nist.gov/vuln/detail/CVE-2017-16138
- https://github.com/broofa/node-mime/issues/167
- https://github.com/broofa/mime/commit/1df903fdeb9ae7eaa048795b8d580ce2c98f40b0
- https://github.com/broofa/mime/commit/855d0c4b8b22e4a80b9401a81f2872058eae274d
- https://github.com/advisories/GHSA-wrvr-8mpx-r7pp
Blast Radius: 48.1
Affected Packages
npm:mime
Dependent packages: 8,416Dependent repositories: 2,602,089
Downloads: 296,302,250 last month
Affected Version Ranges: >= 2.0.0, < 2.0.3, < 1.4.1
Fixed in: 2.0.3, 1.4.1
All affected versions: 1.0.0, 1.1.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10, 1.2.11, 1.3.0, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.4.0, 2.0.0, 2.0.1, 2.0.2
All unaffected versions: 1.4.1, 1.5.0, 1.6.0, 2.0.3, 2.0.5, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.5.0, 2.5.2, 2.6.0, 3.0.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4