7.5

CVE-2021-43307: semver-regex_project semver-regex

CVSS: 7.5v3.1HighModified
AliasesGHSA-4x5v-gmq8-25chCGA-3f5v-3vr5-6jqqCGA-5j8v-vh48-2fcr
Published 01-06-2022Last modified 17-09-2024

Vulnerability summary

CVE-2021-43307 is a high (CVSS 7.5) vulnerability in semver-regex_project semver-regex. EPSS estimates a 1.53% chance of exploitation in the next 30 days, higher than 74.4% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.53%
0%100%
Low · -0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 01-06-2022
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

1.53%

Chance of exploitation in the next 30 days

Percentile

74%

Versus all other CVEs

30-day change

-0.04 pp

From 1.58% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.53%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (research.jfrog.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Chainguard6 products
  • pgadmin4< 9.1-r1
  • pgadmin4-oci-entrypoint< 9.1-r1
  • py3.10-captum< 0.9.0-r1
  • py3.11-captum< 0.9.0-r1
  • py3.12-captum< 0.9.0-r1
Npm1 product
  • semver-regex< 3.1.4 | ≥ 4.0.0, < 4.0.3
Semver-regex1 product
Semver-regex_project1 product
Wordpress1 product
  • insert-special-characters≤ 1.0.4 (fixed in 1.0.5)

5 vendors · 10 products

References

6 links