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.
{
"cna_assigner": "PSF",
"cwe_ids": [
"CWE-835"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8088.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.8.20"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.9.0"
},
{
"fixed": "3.9.20"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.10.0"
},
{
"fixed": "3.10.15"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.11.0"
},
{
"fixed": "3.11.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.12.0"
},
{
"fixed": "3.12.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.13.0a1"
},
{
"fixed": "3.13.0rc2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "795f2597a4be988e2bb19b69ff9958e981cb894e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "8c7348939d8a3ecd79d630075f6be1b0c5b41f64"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "dcc5182f27c1500006a1ef78e10613bb45788dea"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "e0264a61119d551658d9445af38323ba94fc16db"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "2231286d78d328c2f575e0b05b16fe447d1656d6"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "7e8883a3f04d308302361aeffc73e0e9837f19d4"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "95b073bddefa6243effa08e131e297c0383e7f6a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "7bc367e464ce50b956dd232c1dfa1cad4e7fb814"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "962055268ed4f2ca1d717bfc8b6385de50a23ab7"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "fc0b8259e693caa8400fa8b6ac1e494e47ea7798"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "9cd03263100ddb1657826cc4a71470786cab3932"
}
],
"source": "REFERENCES_COMMIT"
}
]
}