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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | torbot | 4.0.0 | GHSA-72qw-p7hh-m3ff |
| PyPI | torbot | 4.0.0 | PYSEC-2026-1969 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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