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

GMS-2017-247: Regular Expression Denial of Service

September 27, 2017

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

References

  • github.com/broofa/node-mime/issues/167

Code Behaviors & Features

Detect and mitigate GMS-2017-247 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

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

Fixed versions

  • 1.4.1
  • 2.0.3

Solution

Upgrade to version 2.0.3 or greater.

Source file

npm/mime/GMS-2017-247.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:08 +0000.