Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS00NGM2LTR2MjItNG1oeM0VyQ

semver-regex Regular Expression Denial of Service (ReDOS)

npm semver-regex is vulnerable to Inefficient Regular Expression Complexity

Permalink: https://github.com/advisories/GHSA-44c6-4v22-4mhx
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00NGM2LTR2MjItNG1oeM0VyQ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: 10 months ago


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

Identifiers: GHSA-44c6-4v22-4mhx, CVE-2021-3795
References: Repository: https://github.com/sindresorhus/semver-regex
Blast Radius: 41.8

Affected Packages

npm:semver-regex
Dependent packages: 393
Dependent repositories: 378,837
Downloads: 18,272,378 last month
Affected Version Ranges: = 4.0.0, < 3.1.3
Fixed in: 4.0.1, 3.1.3
All affected versions: 0.1.0, 0.1.1, 1.0.0, 2.0.0, 3.0.0, 3.1.0, 3.1.1, 3.1.2, 4.0.0
All unaffected versions: 3.1.3, 3.1.4, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5