GitHub Advisoryadvisory · npm
GHSA-6g33-8w2q-4hxv robots-txt-guard Inefficient Regular Expression Complexity vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2021-4305
- Ecosystem
- npm
- Packages
- robots-txt-guard
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
- Reviewed
- 2023-01-09
Affected packages
• npm robots-txt-guard: < 1.0.2 → fixed in 1.0.2
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.
Related
Alias · CVE (1)
- CVE-2021-4305 A vulnerability was found in Woorank robots-txt-guard. vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-4305 advisory
- https://github.com/Woorank/robots-txt-guard/pull/4 web
- https://github.com/Woorank/robots-txt-guard/commit/c03827cd2f9933619c23894ce7c98401ea824020 web
- https://github.com/Woorank/robots-txt-guard package
- https://vuldb.com/?ctiid.217448 web
- https://vuldb.com/?id.217448 web