{"cve":"CVE-2021-43307","nvd":{"published":"2022-06-02T14:15:30.987","modified":"2026-06-17T04:10:49.600","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://research.jfrog.com/vulnerabilities/semver-regex-redos-xray-211349/","https://research.jfrog.com/vulnerabilities/semver-regex-redos-xray-211349/"],"products":["semver-regex_project:semver-regex"],"source":"nvd","synced_at":"2026-10-19T21:31:59.322382750+00:00"},"epss":{"cve":"CVE-2021-43307","score":0.01558,"percentile":0.75202,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4x5v-gmq8-25ch","url":"https://osv.dev/vulnerability/GHSA-4x5v-gmq8-25ch","summary":"Regular expression denial of service in semver-regex","modified":"2026-09-10T03:49:43.854292802Z","packages":[{"ecosystem":"npm","name":"semver-regex","purl":"pkg:npm/semver-regex","ranges":["<3.1.4"],"fixed":["3.1.4"]},{"ecosystem":"npm","name":"semver-regex","purl":"pkg:npm/semver-regex","ranges":[">=4.0.0 <4.0.3"],"fixed":["4.0.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}