Vulnerability · Published Oct 18, 2023 · Assigned by GitHub_M

CVE-2023-45813Inefficient Regular Expression Complexity in TorBot

Medium 4.6

In plain English

A medium-severity regular-expression denial of service in TorBot from DedSecInside. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.6Medium
Exploit odds (30 days)1.0%top 38.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPItorbot4.0.0GHSA-72qw-p7hh-m3ff
PyPItorbot4.0.0PYSEC-2026-1969

Affected products (as reported)

VendorProductVersions
DedSecInside TorBot < 4.0.0

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References