Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. semver
  4. ›
  5. CVE-2015-8855

CVE-2015-8855: Regular Expression Denial of Service in semver

October 24, 2017 (updated September 21, 2021)

The semver package before 4.3.2 for Node.js allows attackers to cause a denial of service (CPU consumption) via a long version string, aka a “regular expression denial of service (ReDoS).”

References

  • www.openwall.com/lists/oss-security/2016/04/20/11
  • www.securityfocus.com/bid/86957
  • github.com/advisories/GHSA-x6fg-f45m-jf5q
  • nodesecurity.io/advisories/31
  • nvd.nist.gov/vuln/detail/CVE-2015-8855
  • www.npmjs.com/advisories/31
  • www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS

Code Behaviors & Features

Detect and mitigate CVE-2015-8855 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 4.3.2

Fixed versions

  • 4.3.2

Solution

Upgrade to version 4.3.2 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/semver/CVE-2015-8855.yml

Spotted a mistake? Edit the file on GitLab.

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

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