Skip to main content
VulnerabilityPublished Updated

CVE-2024-11168: Python2.7 · The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts

Affects python2.7Source GCVE Database

0
Compare
Authoritative record:CVE-2024-11168· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium · fixed in 2.7.6-8ubuntu0.6+esm28 : update python2.7 when convenient.

Data as of 24 Nov 2026, 19:25 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Contested

Scorers differ by 2 or more points
CVSS scores by source
CNA (PSF)CVSS 4.06.3
CISA-ADPCVSS 3.13.7
Patch
Available – fixed in 2.7.6-8ubuntu0.6+esm28, 3.4.3-1ubuntu1~14.04.7+esm14, 3.5.2-2ubuntu0~16.04.4~14.04.1+esm4 +12
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/AU:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 22.04 LTSpython3.10pkg:deb/ubuntu/python3.10?arch=source&distro=jammyOther threatsAffected
  • <3.10.12-1~22.04.8
Fixed in
  • 3.10.12-1~22.04.8
Ubuntu Pro 22.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <2.7.18-13ubuntu1.5+esm5
Fixed in
  • 2.7.18-13ubuntu1.5+esm5
Ubuntu Pro 22.04 LTSpython3.11pkg:deb/ubuntu/python3.11?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <3.11.0~rc1-1~22.04.1~esm2
Fixed in
  • 3.11.0~rc1-1~22.04.1~esm2
Ubuntu 20.04 LTSpython3.8pkg:deb/ubuntu/python3.8?arch=source&distro=focalOther threatsAffected
  • <3.8.10-0ubuntu1~20.04.14
Fixed in
  • 3.8.10-0ubuntu1~20.04.14
Ubuntu Pro 20.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-apps/focalOther threatsAffected
  • <2.7.18-1~20.04.7+esm6
  • =2.7.18~rc1-2
Fixed in
  • 2.7.18-1~20.04.7+esm6
Ubuntu Pro 20.04 LTSpython3.9pkg:deb/ubuntu/python3.9?arch=source&distro=esm-apps/focalOther threatsAffected
  • <3.9.5-3ubuntu0~20.04.1+esm3
Fixed in
  • 3.9.5-3ubuntu0~20.04.1+esm3

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

Description

The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts (`[]`), allowing hosts that weren't IPv6 or IPvFuture. This behavior was not conformant to RFC 3986 and potentially enabled SSRF if a URL is processed by more than one URL parser.

References

Community reviews

Loading reviews…