Shellfeed logo Shellfeed

CVE-2023-45813 · MEDIUM (CVSS 4.6)

Summary: Inefficient Regular Expression Complexity in TorBot

Details

Torbot is an open source tor network intelligence tool. In affected versions 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.

Severity

MEDIUM (CVSS 4.6) — vector CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

  • PyPI torbot [0 – 4.0.0]
  • GIT github.com/dedsecinside/torbot [0 – 9ea8108cbfd3ecb53bfef39b8b7b5d047f3f4ac8] [453cb70ba01d47c114e95356a1faeb9e95b98788 – 9c35f185c0d44c3cb1c7433c66e3dfbb921e5e54]

References