CVE-2021-3795: semver-regex_project semver-regex
CVSS: 7.5v3.0HighModified
AliasesGHSA-44c6-4v22-4mhxCGA-3c92-h2qh-gwjrCGA-3m3r-j2c2-m5crCGA-593r-w2fr-w843CGA-6r9v-w676-hj9vCGA-8p8f-6g5x-3hrrCGA-8q5m-pxm4-cgppCGA-96h9-vjfr-2qqrCGA-g2rj-2cwf-rpw3CGA-hj53-gfgm-wrf3CGA-mj8r-4hvm-j5h2CGA-mp2v-x457-5pq9CGA-vqqc-v34h-r929
Published 15-09-2021Last modified 03-08-2024
Vulnerability summary
CVE-2021-3795 is a high (CVSS 7.5) vulnerability in semver-regex_project semver-regex. EPSS estimates a 1.52% chance of exploitation in the next 30 days, higher than 74.1% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.5/10
010
High · v3.0 (CVE.org)EPSS score
1.52%
0%100%
Low · +0.06 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 15-09-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
semver-regex is vulnerable to Inefficient Regular Expression Complexity
CVSS metrics
6 scores · 4 sources · 3 versionsHigh 7.5Preferred score · OSV · Chainguard (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 2 agree
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
High 7.5Preferred score · CVE.org (CNA)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 3 agree
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
1.52%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
+0.06 pp
From 1.46% on 18-09-2026
18-09-202618-10-2026
EPSS score1.52%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected 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.3 | ≥ 4.0.0, < 4.0.1
Semver-regex_project1 product
- semver-regex< 3.1.3 | 4.0.0
Sindresorhus1 product
- sindresorhus/semver-regex≥ unspecified, < 4.0.1 | ≥ unspecified, < 3.1.3
4 vendors · 9 products
References
4 links- huntr.dev/bounties/006624e3-35ac-448f-aab9-7b5183f30e28X Refsource CONFIRMWEBFIXExploitPatchThird Party Advisory
- github.com/sindresorhus/semver-regex/commit/11c66245f4e1976dccc52977ed183696a21a3fd7X Refsource MISCWEBFIXPatchThird Party Advisory