Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. validators
  4. ›
  5. CVE-2023-45813

CVE-2023-45813: Inefficient Regular Expression Complexity

October 18, 2023 (updated October 30, 2023)

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.

References

  • github.com/DedSecInside/TorBot/commit/ef6e06bc7785355b1701d5524eb4550441086ac4
  • github.com/DedSecInside/TorBot/security/advisories/GHSA-72qw-p7hh-m3ff
  • nvd.nist.gov/vuln/detail/CVE-2023-45813

Code Behaviors & Features

Detect and mitigate CVE-2023-45813 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 0.11.0, version 0.20.0

Fixed versions

  • 0.11.1
  • 0.21.0

Solution

Upgrade to versions 0.11.1, 0.21.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

pypi/validators/CVE-2023-45813.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:50 +0000.