Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mime
  4. ›
  5. CVE-2017-16138

CVE-2017-16138: Uncontrolled Resource Consumption

June 7, 2018 (updated October 9, 2019)

The mime module is vulnerable to regular expression denial of service when a mime lookup is performed on untrusted user input.

References

  • nvd.nist.gov/vuln/detail/CVE-2017-16138

Code Behaviors & Features

Detect and mitigate CVE-2017-16138 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.1, all versions starting from 2.0.1 before 2.0.3

Fixed versions

  • 1.4.1
  • 2.0.3

Solution

Upgrade to versions 1.4.1, 2.0.3 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/mime/CVE-2017-16138.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:23 +0000.