PyPi: Pillow

CVE-2021-34552

Safety vulnerability ID: 40965

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Jul 13, 2021 Updated at Apr 01, 2024
Scan your Python projects for vulnerabilities →

Advisory

Pillow 8.3.0 includes a fix for CVE-2021-34552: Pillow through 8.2.0 and PIL (also known as Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c
https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow
https://pillow.readthedocs.io/en/stable/releasenotes/index.html

Affected package

pillow

Latest version: 10.3.0

Python Imaging Library (Fork)

Affected versions

Fixed versions

Vulnerability changelog

Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c. See CVE-2021-34552.


MISC:https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow: https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow
MISC:https://pillow.readthedocs.io/en/stable/releasenotes/index.html: https://pillow.readthedocs.io/en/stable/releasenotes/index.html

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

CRITICAL 9.8

CVSS v3 Details

CRITICAL 9.8
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH

CVSS v2 Details

HIGH 7.5
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
PARTIAL