PSF Releases White Paper on Python Package Archive Security Vulnerabilities
The Python Software Foundation (PSF) has published a new white paper titled "Slippery ZIPs and Sticky tar-pits: Security & Archives," authored by Security Developer-in-Residence Seth Larson in collaboration with Alpha-Omega. The report addresses critical security and integrity issues within the Python packaging ecosystem, specifically focusing on ten vulnerabilities found in common archive formats like ZIP and tar. These vulnerabilities allow attackers to abuse archive features, causing different tools to interpret the same package contents differently. Such discrepancies can lead to severe downstream consequences, including inconsistent results from malware scanners and potential security breaches. The white paper outlines remediation strategies and highlights how the Python Package Index (PyPI) can preemptively protect users by coordinating disclosures with other packaging tools. It also recommends improvements for standard library modules like zipfile and tarfile, alongside advocating for reproducible builds. The PSF encourages community support through membership, donations, and corporate sponsorship to sustain these essential security efforts. This initiative underscores the importance of maintaining trust and consistency in software distribution channels.
Wire timeline
PSF Releases White Paper on Python Package Archive Security Vulnerabilities
The Python Software Foundation (PSF) has published a new white paper titled "Slippery ZIPs and Sticky tar-pits: Security & Archives," authored by Security Developer-in-Residence Seth Larson in collaboration with Alpha-Omega. The report addresses critical security and integrity issues within the Python packaging ecosystem, specifically focusing on ten vulnerabilities found in common archive formats like ZIP and tar. These vulnerabilities allow attackers to abuse archive features, causing different tools to interpret the same package contents differently. Such discrepancies can lead to severe downstream consequences, including inconsistent results from malware scanners and potential security breaches. The white paper outlines remediation strategies and highlights how the Python Package Index (PyPI) can preemptively protect users by coordinating disclosures with other packaging tools. It also recommends improvements for standard library modules like zipfile and tarfile, alongside advocating for reproducible builds. The PSF encourages community support through membership, donations, and corporate sponsorship to sustain these essential security efforts. This initiative underscores the importance of maintaining trust and consistency in software distribution channels.
Python Software Foundation News