CVE-2023-45813
HIGH 7.5CVSS 3.1TorBot vulnerable to Inefficient Regular Expression Complexity in validate_link
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.
- Published
- 18 Oct 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- GHSA-72qw-p7hh-m3ffPYSEC-2026-1969
- Sources
- NVDJSONOSV GHSA-72qw-p7hh-m3ffJSONOSV PYSEC-2026-1969JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | torbot_project | torbotcpe:2.3:a:torbot_project:torbot:*:*:*:*:*:*:*:* |
< 4.0.0 | 4.0.0 |
| NVD | validators_project | validatorscpe:2.3:a:validators_project:validators:0.11.0:*:*:*:*:python:*:* |
= 0.11.0 | |
| NVD | validators_project | validatorscpe:2.3:a:validators_project:validators:0.20.0:*:*:*:*:python:*:* |
= 0.20.0 | |
| OSV | PyPI | torbot | < 4.0.0 | 4.0.0 |
References
- https://github.com/DedSecInside/TorBot/commit/ef6e06bc7785355b1701d5524eb4550441086ac4 · Patch, WEB
- https://github.com/DedSecInside/TorBot/security/advisories/GHSA-72qw-p7hh-m3ff · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-45813 · ADVISORY
- https://gist.github.com/ikkebr/6041055314f1cfb8e65b2a1acbaae12c · WEB
- https://github.com/DedSecInside/TorBot · PACKAGE
- https://github.com/DedSecInside/TorBot/blob/d2b89192379ad033ffc7044efff26e16ccc02d5a/torbot/modules/validators.py#L13 · WEB
- https://pypi.org/project/torbot · PACKAGE
- https://github.com/advisories/GHSA-72qw-p7hh-m3ff · ADVISORY
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 18 Oct 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Oct 2023)