Skip to content

CVE-2023-45813 Inefficient Regular Expression Complexity in TorBot

HighCVSS 7.5 EPSS 0.96%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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.

Upgrade path

4 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi torbot(PyPI) < 4.0.0; = 1.2; = 2.1.0; = 3.0.1 +2 more 4.0.0 Fixed
torbot project torbot < 4.0.0 4.0.0 Fixed
DedSecInside TorBot = < 4.0.0 No fix listed Versions listed
validators project validators = 0.11.0; = 0.20.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi torbot(PyPI) < 4.0.0 4.0.0
pypi torbot(PyPI) = 1.2 No fix listed
pypi torbot(PyPI) = 2.1.0 No fix listed
pypi torbot(PyPI) = 3.0.1 No fix listed
pypi torbot(PyPI) = 3.1.1 No fix listed
pypi torbot(PyPI) = 3.1.2 No fix listed
DedSecInside TorBot = < 4.0.0 No fix listed
torbot project torbot < 4.0.0 4.0.0
validators project validators = 0.11.0 No fix listed
validators project validators = 0.20.0 No fix listed

References