Security Update for python-imaging
Summary
DSA-3009-1: python-imaging - security update. Affects python-imaging versions < 1.1.7-4+deb7u1. Fixed in 1.1.7-4+deb7u1. 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-imaging is a Python library that provides support for opening, manipulating, and saving many different image file formats. It is widely used in various applications for image processing and manipulation tasks. However, a vulnerability has been discovered in the icns decoder of the library, which could lead to a denial of service if a malformed image is processed.
Vulnerability Detail
The vulnerability in the icns decoder of python-imaging arises from a lack of input sanitization. This means that if an attacker provides a specially crafted image file, it could cause the library to crash or consume excessive resources, resulting in a denial of service. The impact of this vulnerability is limited to the availability of the affected service or application. It does not allow for remote code execution or unauthorized access to data.
How To Fix
Minimum fixed version
1.1.7-4+deb7u1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade python-imaging
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 necessary to apply the security update or upgrade the package to the fixed version.
Conclusion
The python-imaging library is vulnerable to a denial of service issue in the icns decoder. To mitigate this vulnerability, it is crucial to update the python-imaging package to the fixed version. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for python-imaging →
FAQ
Python Imaging Library (PIL) is a library for opening, manipulating, and saving many different image file formats using Python.
The vulnerability could result in a denial of service if a malformed image is processed, causing the affected service or application to crash or consume excessive resources.
No, this vulnerability does not allow for remote code execution or unauthorized access to data. It only affects the availability of the service or application.
No, there is no known workaround for this vulnerability. It is necessary to apply the security update or upgrade the package to the fixed version.
To fix this vulnerability, you should upgrade your python-imaging package to the latest available version from the official package repositories.
Related vulnerabilities
Recent vulnerabilities recorded for python-imaging.