Skip to main content

Inefficient Regular Expression Complexity

CVE-2023-45813

Severity High
Score 7.5/10

Summary

Torbot is an open source tor network intelligence tool. In versions prior to 4.0.0, the "torbot.modules.validators.validate_link" function uses the python-validators URL validation regex. This particular regular expression has an exponential complexity which allows an attacker to cause an application crash using a well-crafted argument. An attacker can use a well-crafted URL argument to exploit the vulnerability in the regular expression and cause a Denial of Service on the system. The "validators" file has been removed in version 4.0.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

  • 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