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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8088.json",
"cna_assigner": "PSF",
"cwe_ids": [
"CWE-835"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.8.20"
},
{
"introduced": "3.9.0"
},
{
"fixed": "3.9.20"
},
{
"introduced": "3.10.0"
},
{
"fixed": "3.10.15"
},
{
"introduced": "3.11.0"
},
{
"fixed": "3.11.10"
},
{
"introduced": "3.12.0"
},
{
"fixed": "3.12.6"
},
{
"introduced": "3.13.0a1"
},
{
"fixed": "3.13.0rc2"
}
],
"source": [
"AFFECTED_FIELD",
"REFERENCES"
]
}