We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-8088

Infinite loop when iterating over zip archive entry names from zipfile.Path



Description

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.

Reserved 2024-08-22 | Published 2024-08-22 | Updated 2024-10-11 | Assigner PSF


HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:N/AU:N/R:U/RE:L

Problem types

CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')

Product status

Default status
unaffected

Any version before 3.8.20
affected

3.9.0 before 3.9.20
affected

3.10.0 before 3.10.15
affected

3.11.0 before 3.11.10
affected

3.12.0 before 3.12.6
affected

3.13.0a1 before 3.13.0rc2
affected

Credits

Jason R. Coombs remediation developer

Seth Larson coordinator

References

mail.python.org/.../thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/ vendor-advisory

github.com/python/cpython/pull/122906 patch

github.com/python/cpython/issues/122905 issue-tracking

github.com/...ommit/795f2597a4be988e2bb19b69ff9958e981cb894e patch

github.com/...ommit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64 patch

github.com/...ommit/dcc5182f27c1500006a1ef78e10613bb45788dea patch

github.com/...ommit/e0264a61119d551658d9445af38323ba94fc16db patch

github.com/python/cpython/issues/123270 issue-tracking

github.com/...ommit/2231286d78d328c2f575e0b05b16fe447d1656d6 patch

github.com/...ommit/7e8883a3f04d308302361aeffc73e0e9837f19d4 patch

github.com/...ommit/95b073bddefa6243effa08e131e297c0383e7f6a patch

github.com/...ommit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814 patch

github.com/...ommit/962055268ed4f2ca1d717bfc8b6385de50a23ab7 patch

github.com/...ommit/fc0b8259e693caa8400fa8b6ac1e494e47ea7798 patch

github.com/...ommit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1 patch

cve.org (CVE-2024-8088)

nvd.nist.gov (CVE-2024-8088)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-8088

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.