{"id":"CVE-2021-4305","aliases":["CVE-2021-4305","GHSA-6g33-8w2q-4hxv"],"related":[],"kind":"vulnerability","state":"published","title":"Woorank robots-txt-guard patterns.js makePathPattern redos","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"Eine problematische Schwachstelle wurde in Woorank robots-txt-guard ausgemacht. Betroffen davon ist die Funktion makePathPattern der Datei lib/patterns.js. Dank der Manipulation des Arguments pattern mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Der Exploit steht zur öffentlichen Verfügung. Der Patch wird als c03827cd2f9933619c23894ce7c98401ea824020 bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en Woorank robots-txt-guard. Ha sido calificada como problemática. La función makePathPattern del archivo lib/patterns.js es afectada por esta vulnerabilidad. La manipulación del patrón de argumento conduce a una complejidad de expresión regular ineficiente. El exploit ha sido divulgado al público y puede utilizarse. El nombre del parche es c03827cd2f9933619c23894ce7c98401ea824020. Se recomienda aplicar un parche para solucionar este problema. El identificador de esta vulnerabilidad es VDB-217448.","source":"nvd"}],"published":"2023-01-05T10:03:09.193Z","modified":"2026-06-17T04:19:28.147Z","severity":{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.5,"rating":"LOW"},"severities":[{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.5,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.5,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:A/AC:M/Au:S/C:N/I:N/A:P","score":2.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-1333"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"vendor":"Woorank","product":"robots-txt-guard","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.2"}],"ecosystem":"npm","package":"robots-txt-guard","purl":"pkg:npm/robots-txt-guard","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2021-02-07"}],"vendor":"bridgeline","product":"robots-txt-guard","cpe":"cpe:2.3:a:bridgeline:robots-txt-guard:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.217448","tags":["technical-description","third-party-advisory","vdb-entry","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?ctiid.217448","tags":["permissions-required","signature","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Woorank/robots-txt-guard/pull/4","tags":["exploit","issue-tracking","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Woorank/robots-txt-guard/commit/c03827cd2f9933619c23894ce7c98401ea824020","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4305","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Woorank/robots-txt-guard","tags":["package"],"sources":["ghsa"]}],"credits":["VulDB GitHub Commit Analyzer"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-11-25T17:49:23.236Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-4305","url":"https://www.cve.org/CVERecord?id=CVE-2021-4305","licence":"CVE Terms of Use","modified":"2024-11-25T17:49:33.996Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6g33-8w2q-4hxv","url":"https://github.com/advisories/GHSA-6g33-8w2q-4hxv","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:08.423Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-4305","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4305","licence":"Public domain","modified":"2026-06-17T04:19:28.147Z"}],"updatedAt":"2026-11-25T22:24:37.112Z","epss":{"score":0.01027,"percentile":0.6281,"date":"2026-11-30T12:00:22.000Z"}}