Alpine Security Database
ALPINE-CVE-2024-8088
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Alpine:v3.17 | python3 | All versions before 3.10.14-r2 (fixed in 3.10.14-r2) |
| Alpine:v3.18 | python3 | All versions before 3.11.8-r1 (fixed in 3.11.8-r1) |
| Alpine:v3.19 | python3 | All versions before 3.11.9-r1 (fixed in 3.11.9-r1) |
| Alpine:v3.20 | python3 | All versions before 3.12.3-r2 (fixed in 3.12.3-r2) |
| Alpine:v3.21 | python3 | All versions before 3.12.5-r1 (fixed in 3.12.5-r1) |
| Alpine:v3.22 | python3 | All versions before 3.12.5-r1 (fixed in 3.12.5-r1) |
| Alpine:v3.23 | python3 | All versions before 3.12.5-r1 (fixed in 3.12.5-r1) |
| Alpine:v3.24 | python3 | All versions before 3.12.5-r1 (fixed in 3.12.5-r1) |