Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. uglify-js
  4. ›
  5. CVE-2015-8858

CVE-2015-8858: Regular Expression Denial of Service

January 23, 2017 (updated March 1, 2017)

uglify-js is vulnerable to regular expression denial of service (ReDoS) when certain types of input is passed into .parse(). A regular expression leading to a very long processing time can be used to make the program hang for a very long time.

References

  • cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8858

Code Behaviors & Features

Detect and mitigate CVE-2015-8858 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 2.6.0

Fixed versions

  • 2.6.0

Solution

Upgrade to version 2.6.0 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-399

Source file

npm/uglify-js/CVE-2015-8858.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:07 +0000.