CVE-2024-8088

Publication date 22 August 2024

Last updated 16 September 2024


Ubuntu priority

There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected. When iterating over names of entries in a zip archive (for example, methods of "zipfile.Path" like "namelist()", "iterdir()", etc) the process can be put into an infinite loop with a maliciously crafted zip archive. This defect applies when reading only metadata or extracting the contents of the zip archive. Programs that are not handling user-controlled zip archives are not affected.

Read the notes from the security team

Status

Package Ubuntu Release Status
python2.7 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected
python3.10 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Fixed 3.10.12-1~22.04.6
20.04 LTS focal Not in release
python3.11 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Needs evaluation
20.04 LTS focal Not in release
python3.12 24.10 oracular
Not affected
24.04 LTS noble
Fixed 3.12.3-1ubuntu0.2
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
python3.13 24.10 oracular
Not affected
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
python3.4 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
14.04 LTS trusty Ignored end of ESM support, was needs-triage
python3.5 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
16.04 LTS xenial
Needs evaluation
14.04 LTS trusty Ignored end of ESM support, was needs-triage
python3.6 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Needs evaluation
python3.7 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Needs evaluation
python3.8 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Fixed 3.8.10-0ubuntu1~20.04.12
18.04 LTS bionic
Needs evaluation
python3.9 24.10 oracular Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Needs evaluation

Notes


mdeslaur

The original fix lead to a regression, see subsequent commit. There are two more commits in the Lib/zipfile directory that are possibly related to this issue.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
python3.10
python3.11
python3.12
python3.13
python3.8
python3.9