CVE-2021-25289
medium
CVSS v3
—
CVSS v2
—
VIR risk
5.5
Description
An issue was discovered in Pillow before 8.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. NOTE: this issue exists because of an incomplete fix for CVE-2020-35654.
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-25289
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-25289.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 8.1.2-1 | |
| sles | affected | | |
| debian | bookworm | fixed | 8.1.1-1 |
| debian | bullseye | fixed | 8.1.1-1 |
| debian | forky | fixed | 8.1.1-1 |
| debian | sid | fixed | 8.1.1-1 |
| debian | trixie | fixed | 8.1.1-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | pillow | <8.1.1 | 8.1.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-25289
- https://github.com/python-pillow/Pillow/commit/3fee28eb9479bf7d59e0fa08068f9cc4a6e2f04c
- https://github.com/python-pillow/Pillow/commit/cbfdde7b1f2295059a20a539ee9960f0bec7b299
- https://github.com/advisories/GHSA-57h3-9rgr-c24m
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-35.yaml
- https://github.com/python-pillow/Pillow
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
- https://security.gentoo.org/glsa/202107-33
- https://www.suse.com/security/cve/CVE-2021-25289.html
- https://security-tracker.debian.org/tracker/CVE-2021-25289
Verify integrity in audit chain (admin only). AS-IS.