{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-45813","id":"CVE-2023-45813","title":"Inefficient Regular Expression Complexity in TorBot","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 vulne","descriptionLong":"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":"2023-10-18T20:26:44.531Z","updated":"2026-11-18T07:00:48.557489452Z","reserved":"2023-10-13T12:00:50.437Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["DedSecInside TorBot"],"affectedProducts":[{"vendor":"DedSecInside","product":"TorBot","defaultStatus":null,"versions":[{"version":"< 4.0.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"torbot","purl":"pkg:pypi/torbot","ranges":["<4.0.0"],"fixed":["4.0.0"],"advisory":"GHSA-72qw-p7hh-m3ff"}],"cwes":["CWE-1333"],"aliases":["GHSA-72qw-p7hh-m3ff","PYSEC-2026-1969"],"references":[{"url":"https://github.com/DedSecInside/TorBot/security/advisories/GHSA-72qw-p7hh-m3ff","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/DedSecInside/TorBot/commit/ef6e06bc7785355b1701d5524eb4550441086ac4","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45813.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45813","tags":["advisory"]},{"url":"https://gist.github.com/ikkebr/6041055314f1cfb8e65b2a1acbaae12c","tags":["web"]},{"url":"https://github.com/DedSecInside/TorBot","tags":["package"]},{"url":"https://github.com/DedSecInside/TorBot/blob/d2b89192379ad033ffc7044efff26e16ccc02d5a/torbot/modules/validators.py#L13","tags":["web"]},{"url":"https://pypi.org/project/torbot","tags":["package"]},{"url":"https://github.com/advisories/GHSA-72qw-p7hh-m3ff","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00961,"epssPercentile":0.62268,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-45813","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45813","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-45813","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-72qw-p7hh-m3ff","ok":true,"note":"GHSA-72qw-p7hh-m3ff"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-45813","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}