Inefficient Regular Expression Complexity in TorBot
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| DedSecInside | TorBot | before 4.0.0 | 4.0.0 | Patch available | CNA |
| — | torbot (PyPI) | before 4.0.0 | 4.0.0 | Patch available | GHSA-72qw-p7hh-m3ff |
- TorBot VendorDedSecInside Affected before 4.0.0 Fixed in 4.0.0 Patch available CNA
- torbot (PyPI) Vendor— Affected before 4.0.0 Fixed in 4.0.0 Patch available GHSA-72qw-p7hh-m3ff
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:torbot_project:torbot:*:*:*:*:*:*:*:* | before 4.0.0 | Vulnerable | Torbot Project |
| cpe:2.3:a:validators_project:validators:0.11.0:*:*:*:*:python:*:* | 0.11.0 | Vulnerable | Validators Project |
| cpe:2.3:a:validators_project:validators:0.20.0:*:*:*:*:python:*:* | 0.20.0 | Vulnerable | Validators Project |
- cpe:2.3:a:torbot_project:torbot:*:*:*:*:*:*:*:* Versions before 4.0.0 Vulnerable ·Torbot Project
- cpe:2.3:a:validators_project:validators:0.11.0:*:*:*:*:python:*:* Versions 0.11.0 Vulnerable ·Validators Project
- cpe:2.3:a:validators_project:validators:0.20.0:*:*:*:*:python:*:* Versions 0.20.0 Vulnerable ·Validators Project
Remediation
- Fix · CNA TorBot (DedSecInside) Fixed in 4.0.0
- Fix · GHSA-72qw-p7hh-m3ff torbot (PyPI) Fixed in 4.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-45813
- 2026-10-03 Alias added: GHSA-72qw-p7hh-m3ff
References
Sources
- CVE-2023-45813 · CVE Program
- CVE-2023-45813 · NVD
- FIRST EPSS
- GHSA-72qw-p7hh-m3ff · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences