Skip to main content

Inefficient Regular Expression Complexity

CVE-2021-4305

Severity High
Score 7.5/10

Summary

A vulnerability was found in Woorank robots-txt-guard prior to 1.0.0. 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. It is recommended to apply a patch to fix this issue.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-1333 - Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

Advisory Timeline

  • Published