CVE-2024-11168: Python2.7 · The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts
Affects python2.7Source GCVE Database
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
Contested
Scorers differ by 2 or more points| CNA (PSF) | CVSS 4.0 | 6.3 |
|---|---|---|
| CISA-ADP | CVSS 3.1 | 3.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:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 22.04 LTSpython3.10pkg:deb/ubuntu/python3.10?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSpython3.11pkg:deb/ubuntu/python3.11?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSpython3.8pkg:deb/ubuntu/python3.8?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSpython3.9pkg:deb/ubuntu/python3.9?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
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
- ubuntu.com/security/CVE-2024-11168 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-11168 (opens in a new tab)
- github.com/python/cpython/pull/103849 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/XPWB6XVZ5G5KGEI63M4AWLIEUF5BPH4T/ (opens in a new tab)
- ubuntu.com/security/notices/USN-7218-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7348-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7488-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7280-3 (opens in a new tab)