CVE-2021-43307 Exponential ReDoS in semver-regex
HighCVSS 7.5
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
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
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm semver-regex(npm) | < 3.1.4; >= 4.0.0, < 4.0.3 | 3.1.4, 4.0.3 | Fixed |
| semver-regex | < 4.0.3 | 4.0.3 | Fixed |
| semver-regex project semver-regex | < 3.1.4; >= 4.0.0, < 4.0.3 | 3.1.4, 4.0.3 | Fixed |
| wordpress insert-special-characters(WordPress) | < 1.0.5 | 1.0.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm semver-regex(npm) | < 3.1.4 | 3.1.4 |
| npm semver-regex(npm) | >= 4.0.0, < 4.0.3 | 4.0.3 |
| semver-regex project semver-regex | < 3.1.4 | 3.1.4 |
| semver-regex project semver-regex | >= 4.0.0, < 4.0.3 | 4.0.3 |
| semver-regex | < 4.0.3 | 4.0.3 |
| wordpress insert-special-characters(WordPress) | < 1.0.5 | 1.0.5 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- research.jfrog.com exploit third-party-advisory
- github.com patch
- github.com
- Wordfence Intelligence third-party-advisory
- www.cve.org
- github.com product