1. Home
  2. Vulnerabilities
  3. CVE-2021-43307

CVE-2021-43307

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the semver-regex npm package…

Published 2 Jun 2022 · modified 17 Jun 2026 · Sources: NVD, EPSS (FIRST)

Medium 57/100

Summary

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the semver-regex npm package, when an attacker is able to supply arbitrary input to the test() method

Affected products and versions

Semver-regex project (2 line(s))
Semver-regex project
ProductVersionsFixed inSource
Semver-regex before 3.1.4 (excluded) — NVD
Semver-regex from 4.0.0 (included) to 4.0.3 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-1333 · Autre (CWE-1333)

How this data is obtained and calculated