Skip to content

Insufficient Verification of Data Authenticity in Pillow

Moderate severity GitHub Reviewed Published Jun 8, 2021 to the GitHub Advisory Database • Updated Sep 4, 2023

Package

pip Pillow (pip)

Affected versions

>= 5.1.0, < 8.2.0

Patched versions

8.2.0

Description

An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.

References

Published by the National Vulnerability Database Jun 2, 2021
Reviewed Jun 3, 2021
Published to the GitHub Advisory Database Jun 8, 2021
Last updated Sep 4, 2023

Severity

Moderate
5.5
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2021-28678

GHSA ID

GHSA-hjfx-8p6c-g7gx

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.