PyPI: pillow
CVE-2024-28219
Safety vulnerability ID: SFTY-20240403-78084
Safety legacy ID: pyup.io-67136
Pillow 10.3.0 introduces a security update addressing CVE-2024-28219 by replacing certain functions with strncpy to prevent buffer overflow issues.
Overview
Pillow buffer overflow vulnerability
Advisory
Pillow 10.3.0 introduces a security update addressing CVE-2024-28219 by replacing certain functions with strncpy to prevent buffer overflow issues.
How to Fix
Upgrade
pillow
to10.3.0
or higher.Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20240403-78084/CVE-2024-28219
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-28219
- https://data.safetycli.com/changelogs/pillow/
- https://github.com/python-pillow/Pillow/pull/7928
- https://pypi.org/project/pillow
- https://nvd.nist.gov/vuln/detail/CVE-2024-28219
- https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security
- https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061
- https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M
- https://github.com/advisories/GHSA-44wm-f244-xhp3
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
