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 March 3, 2026)

Versions 4.3.1 and earlier of semver are affected by a regular expression denial of service vulnerability when extremely long version strings are parsed.

References

  • github.com/advisories/GHSA-x6fg-f45m-jf5q
  • github.com/github/advisory-database/pull/7102
  • github.com/npm/node-semver
  • github.com/npm/node-semver/commit/5c4c9f6e26c7052a42b5ced2a7481c5c9b4363a0
  • github.com/npm/node-semver/commit/c80180d8341a8ada0236815c29a2be59864afd70
  • 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. 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 starting from 1.0.4 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-1333: Inefficient Regular Expression Complexity

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 Sun, 08 Nov 2026 00:15:47 +0000.