Live threats

All CVEs / Semver-regex Project

CVE-2021-3795Semver-regex Project Semver-regex

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
No
Published
Sep 15, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

semver-regex is vulnerable to Inefficient Regular Expression Complexity

Original NVD text.

What to do

  1. Apply the vendor's security update for Semver-regex.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm semver-regex < 3.1.3 3.1.3 npm install semver-regex@3.1.3
npm semver-regex ≥ 4.0.0 < 4.0.1 4.0.1 npm install semver-regex@4.0.1

Per OSV / GitHub Advisories (GHSA-44c6-4v22-4mhx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
semver-regex_projectsemver-regex< 3.1.3
semver-regex_projectsemver-regex4.0.0

Official sources

References

Links published by the sources. Open them with care.