Skip to content
OpenAdvisories
Medium · 4.6 CVE-2023-45813 EUVD-2023-2681GHSA-72qw-p7hh-m3ffPYSEC-2026-1969

Inefficient Regular Expression Complexity in TorBot

Published Oct 18, 2023 · Updated Sep 13, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
DedSecInside TorBot < 4.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI torbot < 4.0.0 4.0.0 GHSA-72qw-p7hh-m3ff

References