Vulnerability · Published Jan 5, 2023 · Assigned by VulDB

CVE-2021-4305Woorank robots-txt-guard patterns.js makePathPattern redos

Low 3.5

In plain English

A low-severity regular-expression denial of service in robots-txt-guard from Woorank. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.5Low
Exploit odds (30 days)1.0%top 36.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmrobots-txt-guard1.0.2GHSA-6g33-8w2q-4hxv

Affected products (as reported)

VendorProductVersions
Woorank robots-txt-guard n/a

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

References