Vulnerability · Published Sep 15, 2021 · Assigned by @huntrdev

CVE-2021-3795Inefficient Regular Expression Complexity in sindresorhus/semver-regex

High 7.5

In plain English

A high-severity regular-expression denial of service in sindresorhus/semver-regex from sindresorhus. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)7.5High
Exploit odds (30 days)1.5%top 25.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

semver-regex is vulnerable to Inefficient Regular Expression Complexity

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmsemver-regex3.1.3GHSA-44c6-4v22-4mhx
npmsemver-regex4.0.1GHSA-44c6-4v22-4mhx

Affected products (as reported)

VendorProductVersions
sindresorhus sindresorhus/semver-regex unspecified – before 4.0.1unspecified – before 3.1.3

Weakness: CWE-1333 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References