Moderate: python-pillow buffer overflow in _imagingcms.c
Summary
ALSA-2024:4227: Moderate: python-pillow security update. Affects python3-pillow versions < 5.1.1-21.el8_10. Fixed in 5.1.1-21.el8_10. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
python-pillow is a Python image processing library that offers support for various file formats, efficient internal representation, and powerful image-processing capabilities. It is widely used in applications that require image manipulation and processing.
Vulnerability Detail
A buffer overflow vulnerability has been discovered in the _imagingcms.c module of python-pillow. This vulnerability could allow an attacker to overwrite adjacent memory locations, potentially leading to arbitrary code execution or a denial of service (DoS) condition. The vulnerability is identified as CVE-2024-28219.
How To Fix
Minimum fixed version
5.1.1-21.el8_10
This is the first release that contains the fix.
sudo dnf update python3-pillow
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to apply the security update as soon as possible to mitigate the risk of exploitation.
Conclusion
The buffer overflow vulnerability in python-pillow can be mitigated by updating the package to the recommended version. It is crucial to apply the security update promptly to protect systems from potential exploitation.
See every vulnerability recorded for python3-pillow →
FAQ
Python-pillow is a Python library used for image processing and manipulation. It provides support for various file formats and offers powerful image-processing capabilities.
The buffer overflow vulnerability in python-pillow could allow an attacker to execute arbitrary code or cause a denial of service (DoS) condition on the affected system.
To fix this vulnerability, update the python-pillow package to version 5.1.1-21.el8_10 or later. This update includes a patch that addresses the buffer overflow issue.
No, there is no known workaround for this vulnerability. It is crucial to apply the security update to protect against potential exploitation.
You can find more information about this vulnerability, including the CVE identifier, on the official CVE page referenced in the 'References' section of the vulnerability details.
Related vulnerabilities
Recent vulnerabilities recorded for python3-pillow.