Files
CVEs-PoC/2021/CVE-2021-43307.md
2025-09-29 21:09:30 +02:00

18 lines
767 B
Markdown

### [CVE-2021-43307](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43307)
![](https://img.shields.io/static/v1?label=Product&message=semver-regex&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=unspecified%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-1333%20Inefficient%20Regular%20Expression%20Complexity&color=brightgreen)
### 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
### POC
#### Reference
- https://research.jfrog.com/vulnerabilities/semver-regex-redos-xray-211349/
#### Github
- https://github.com/20142995/nuclei-templates