high7.5
CVE-2021-4305
robots-txt-guard Inefficient Regular Expression Complexity vulnerability
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | robots-txt-guard | < 1.0.2 | 1.0.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Bridgeline | Robots-Txt-Guard | before 2021-02-07 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/advisories/GHSA-6g33-8w2q-4hxv
- https://nvd.nist.gov/vuln/detail/CVE-2021-4305