CVE-2023-45813 json
Inefficient Regular Expression Complexity in TorBot
published 2023-10-18 3 y ago modified 2026-09-10 1 mo ago also GHSA-72qw-p7hh-m3ff , PYSEC-2026-1969 , EUVD-2023-2681
- cvss
- 4.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/DedSecInside/TorBot/security/advisories/GHSA-72qw-p7hh-m3ff referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.6 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 4.6 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 4.6 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | torbot | <4.0.0 |
4.0.0 |
Affected products
- DedSecInside TorBot
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/DedSecInside/TorBot/commit/ef6e06bc7785355b1701d5524eb4550441086ac4
web, patch
-
github.com
/DedSecInside/TorBot/security/advisories/GHSA-72qw-p7hh-m3ff
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-45813
advisory
-
gist.github.com
/ikkebr/6041055314f1cfb8e65b2a1acbaae12c
web
-
github.com
/DedSecInside/TorBot
package
-
github.com
/DedSecInside/TorBot/blob/d2b89192379ad033ffc7044efff26e16ccc02d5a/torbot/modules/validators.py#L13
web
-
pypi.org
/project/torbot
package
-
github.com
/advisories/GHSA-72qw-p7hh-m3ff
advisory
Sources
- CVE List CVE-2023-45813
- GitHub Advisory GHSA-72qw-p7hh-m3ff
- NVD CVE-2023-45813
- OSV PYSEC-2026-1969
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.