What’s Vulnerable › Vulnerabilities
CVE-2021-4305: Woorank robots-txt-guard patterns.js makePathPattern redos
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-01-05 · updated 2026-06-17
- Weakness: CWE-1333
Description
A vulnerability was found in Woorank robots-txt-guard. It has been rated as problematic. Affected by this issue is the function makePathPattern of the file lib/patterns.js. The manipulation of the argument pattern leads to inefficient regular expression complexity. The exploit has been disclosed to the public and may be used. The name of the patch is c03827cd2f9933619c23894ce7c98401ea824020. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-217448.
Affected products
- Woorank robots-txt-guard: before 2021-02-07 — fixed in 2021-02-07
How to fix
Upgrade to a fixed version: Woorank robots-txt-guard 2021-02-07. Check the vendor advisory for mitigations.
References
- https://github.com/Woorank/robots-txt-guard/commit/c03827cd2f9933619c23894ce7c98401ea824020
- https://github.com/Woorank/robots-txt-guard/pull/4
- https://vuldb.com/?ctiid.217448
- https://vuldb.com/?id.217448
- https://github.com/Woorank/robots-txt-guard/commit/c03827cd2f9933619c23894ce7c98401ea824020
- https://github.com/Woorank/robots-txt-guard/pull/4
- https://vuldb.com/?ctiid.217448
- https://vuldb.com/?id.217448
Get alerted when CVE-2021-4305 or the next vulnerability affects your stack