Ubuntu CVE Tracker
UBUNTU-CVE-2024-7592
Details
There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python2.7 | All versions before 2.7.6-8ubuntu0.6+esm20 (fixed in 2.7.6-8ubuntu0.6+esm20) |
| Ubuntu:Pro:14.04:LTS | python3.5 | All versions before 3.5.2-2ubuntu0~16.04.4~14.04.1+esm3 (fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm3) |
| Ubuntu:Pro:14.04:LTS | python3.4 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | python2.7 | All versions before 2.7.12-1ubuntu0~16.04.18+esm10 (fixed in 2.7.12-1ubuntu0~16.04.18+esm10) |
| Ubuntu:Pro:16.04:LTS | python3.5 | All versions before 3.5.2-2ubuntu0~16.04.13+esm14 (fixed in 3.5.2-2ubuntu0~16.04.13+esm14) |
| Ubuntu:Pro:18.04:LTS | python2.7 | All versions before 2.7.17-1~18.04ubuntu1.13+esm5 (fixed in 2.7.17-1~18.04ubuntu1.13+esm5) |
| Ubuntu:Pro:18.04:LTS | python3.6 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.7 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:20.04:LTS | python3.8 | All versions before 3.8.10-0ubuntu1~20.04.12 (fixed in 3.8.10-0ubuntu1~20.04.12) |
| Ubuntu:Pro:20.04:LTS | python2.7 | All versions before 2.7.18-1~20.04.4+esm2 (fixed in 2.7.18-1~20.04.4+esm2) |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions, no fix listed |
| Ubuntu:22.04:LTS | python3.10 | All versions before 3.10.12-1~22.04.6 (fixed in 3.10.12-1~22.04.6) |
| Ubuntu:Pro:22.04:LTS | python2.7 | All versions before 2.7.18-13ubuntu1.2+esm2 (fixed in 2.7.18-13ubuntu1.2+esm2) |
| Ubuntu:Pro:22.04:LTS | python3.11 | All versions, no fix listed |
| Ubuntu:24.04:LTS | python3.12 | All versions before 3.12.3-1ubuntu0.2 (fixed in 3.12.3-1ubuntu0.2) |
References
- https://ubuntu.com/security/CVE-2024-7592
- https://www.cve.org/CVERecord?id=CVE-2024-7592
- https://github.com/python/cpython/pull/123075
- https://mail.python.org/archives/list/[email protected]/thread/HXJAAAALNUNGCQUS2W7WR6GFIZIHFOOK/
- https://ubuntu.com/security/notices/USN-7015-1
- https://ubuntu.com/security/notices/USN-7015-2