Ubuntu CVE Tracker
UBUNTU-CVE-2024-11168
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python2.7 | All versions before 2.7.6-8ubuntu0.6+esm28 (fixed in 2.7.6-8ubuntu0.6+esm28) |
| Ubuntu:Pro:14.04:LTS | python3.4 | All versions before 3.4.3-1ubuntu1~14.04.7+esm14 (fixed in 3.4.3-1ubuntu1~14.04.7+esm14) |
| Ubuntu:Pro:14.04:LTS | python3.5 | All versions before 3.5.2-2ubuntu0~16.04.4~14.04.1+esm4 (fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm4) |
| Ubuntu:Pro:16.04:LTS | python2.7 | All versions before 2.7.12-1ubuntu0~16.04.18+esm15 (fixed in 2.7.12-1ubuntu0~16.04.18+esm15) |
| Ubuntu:Pro:16.04:LTS | python3.5 | All versions before 3.5.2-2ubuntu0~16.04.13+esm16 (fixed in 3.5.2-2ubuntu0~16.04.13+esm16) |
| Ubuntu:Pro:18.04:LTS | python2.7 | All versions before 2.7.17-1~18.04ubuntu1.13+esm10 (fixed in 2.7.17-1~18.04ubuntu1.13+esm10) |
| Ubuntu:Pro:18.04:LTS | python3.6 | All versions before 3.6.9-1~18.04ubuntu1.13+esm3 (fixed in 3.6.9-1~18.04ubuntu1.13+esm3) |
| Ubuntu:Pro:18.04:LTS | python3.7 | All versions before 3.7.5-2ubuntu1~18.04.2+esm4 (fixed in 3.7.5-2ubuntu1~18.04.2+esm4) |
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions before 3.8.0-3ubuntu1~18.04.2+esm3 (fixed in 3.8.0-3ubuntu1~18.04.2+esm3) |
| Ubuntu:20.04:LTS | python3.8 | All versions before 3.8.10-0ubuntu1~20.04.14 (fixed in 3.8.10-0ubuntu1~20.04.14) |
| Ubuntu:Pro:20.04:LTS | python2.7 | All versions before 2.7.18-1~20.04.7+esm6 (fixed in 2.7.18-1~20.04.7+esm6) |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions before 3.9.5-3ubuntu0~20.04.1+esm3 (fixed in 3.9.5-3ubuntu0~20.04.1+esm3) |
| Ubuntu:22.04:LTS | python3.10 | All versions before 3.10.12-1~22.04.8 (fixed in 3.10.12-1~22.04.8) |
| Ubuntu:Pro:22.04:LTS | python2.7 | All versions before 2.7.18-13ubuntu1.5+esm5 (fixed in 2.7.18-13ubuntu1.5+esm5) |
| Ubuntu:Pro:22.04:LTS | python3.11 | All versions before 3.11.0~rc1-1~22.04.1~esm2 (fixed in 3.11.0~rc1-1~22.04.1~esm2) |
References
- https://ubuntu.com/security/CVE-2024-11168
- https://www.cve.org/CVERecord?id=CVE-2024-11168
- https://github.com/python/cpython/pull/103849
- https://mail.python.org/archives/list/[email protected]/thread/XPWB6XVZ5G5KGEI63M4AWLIEUF5BPH4T/
- https://ubuntu.com/security/notices/USN-7218-1
- https://ubuntu.com/security/notices/USN-7348-1
- https://ubuntu.com/security/notices/USN-7488-1
- https://ubuntu.com/security/notices/USN-7280-3