Vulnerability · Published Mar 19, 2021 · Assigned by mitre

CVE-2021-25291

High 7.5

In plain English

A high-severity security flaw in the py3-pillow package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.4%top 27.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is an out-of-bounds read in TiffreadRGBATile via invalid tile boundaries.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20py3-pillow8.1.2-r0ALPINE-CVE-2021-25291
Alpine:v3.21py3-pillow8.1.2-r0ALPINE-CVE-2021-25291
Alpine:v3.22py3-pillow8.1.2-r0ALPINE-CVE-2021-25291
Alpine:v3.23py3-pillow8.1.2-r0ALPINE-CVE-2021-25291
Alpine:v3.24py3-pillow8.1.2-r0ALPINE-CVE-2021-25291
Debian:12pillow8.1.1-1DEBIAN-CVE-2021-25291
Debian:13pillow8.1.1-1DEBIAN-CVE-2021-25291
Debian:14pillow8.1.1-1DEBIAN-CVE-2021-25291
PyPIpillow8.1.1PYSEC-2021-37
PyPIpillow8.2.0GHSA-mvg9-xffr-p774

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References