Skip to main content
VulnerabilityPublished Updated

CVE-2023-24329: python · Improper Input Validation

Affects pythonSource CVE Database V5

0

Not known to be exploited · 20% EPSS · CVSS 7.5 High : upgrade to 3.11.4 soon.

Data as of 26 Oct 2026, 12:54 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
20.4% chance of exploitation in 30 days – higher than 97% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.11.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Feb 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade python to 3.11.4.

Affected software

ProductAffectedFixed in
PyPIpythonpkg:pypi/pythonOther threatsAffected
  • <3.11.4
Fixed in
  • 3.11.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade all Python environments to version 3.11.4 or later, where the vulnerability has been addressed.
  2. Audit and update any custom URL validation or blocklisting logic to explicitly trim or reject URLs with leading whitespace characters before processing.
  3. Implement additional security layers such as Web Application Firewalls (WAFs) that can detect and block malformed or suspicious URLs regardless of leading whitespace.
  4. Conduct code reviews and security testing focusing on input validation routines involving URLs, ensuring they handle edge cases like leading/trailing whitespace.
  5. Educate development and security teams about this vulnerability to raise awareness and encourage proactive patch management.
  6. Monitor security advisories and threat intelligence feeds for any emerging exploit attempts targeting this vulnerability.
  7. For critical applications, consider implementing runtime application self-protection (RASP) or enhanced logging to detect anomalous URL processing behavior.

Description

An issue in the urllib.parse component of Python before 3.11.4 allows attackers to bypass blocklisting methods by supplying a URL that starts with blank characters.

References

Community reviews

Loading reviews…