Advisory

GHSA-6g33-8w2q-4hxv

Also known as: CVE-2021-4305

Summary

robots-txt-guard Inefficient Regular Expression Complexity vulnerability

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-01-05 12:30 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

robots-txt-guard

npm · All systems

Affected

  • introduced 0, fixed 1.0.2 (semver)

Fixed versions

1.0.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences