Pillow up to 3.1.0 libImaging/Resample.c ImagingResampleHorizontal memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.6 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Pillow up to 3.1.0 and classified as critical. The affected element is the function ImagingResampleHorizontal of the file libImaging/Resample.c. Such manipulation leads to memory corruption.
This vulnerability is uniquely identified as CVE-2016-4009. The attack can be launched remotely. No exploit exists.
It is suggested to upgrade the affected component.
Details
A vulnerability, which was classified as very critical, has been found in Pillow up to 3.1.0. Affected by this issue is the function ImagingResampleHorizontal of the file libImaging/Resample.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. CVE summarizes:
Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have unspecified impact via negative values of the new size, which triggers a heap-based buffer overflow.
The weakness was disclosed 04/13/2016 (Website). The advisory is shared for download at securityfocus.com. This vulnerability is handled as CVE-2016-4009 since 04/13/2016. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 07/24/2022).
The vulnerability scanner Nessus provides a plugin with the ID 96227 (GLSA-201612-52 : Pillow: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l.
Upgrading to version 3.1.1 eliminates this vulnerability. A possible mitigation has been published 10 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (96227) and SecurityFocus (BID 86064†). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.8VulDB Meta Temp Score: 9.6
VulDB Base Score: 9.8
VulDB Temp Score: 9.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 96227
Nessus Name: GLSA-201612-52 : Pillow: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
Exposure Time: 🔍
Upgrade: Pillow 3.1.1
Patch: github.com
Timeline
04/13/2016 🔍04/13/2016 🔍
04/13/2016 🔍
04/14/2016 🔍
04/14/2016 🔍
12/30/2016 🔍
01/02/2017 🔍
07/24/2022 🔍
Sources
Advisory: 4e0d9b0b9740d258ade40cce248c93777362ac1e⛔Status: Not defined
CVE: CVE-2016-4009 (🔍)
GCVE (CVE): GCVE-0-2016-4009
GCVE (VulDB): GCVE-100-82352
SecurityFocus: 86064 - Python Pillow CVE-2016-4009 Integer Overflow Vulnerability
Entry
Created: 04/14/2016 10:02Updated: 07/24/2022 14:24
Changes: 04/14/2016 10:02 (45), 10/07/2018 08:37 (26), 07/24/2022 14:22 (4), 07/24/2022 14:24 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.