CVE-2021-25291
python-pillow: out-of-bounds read in TiffReadRGBATile in TiffDecode.c
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-125
Affected packages · 2
Operating systems · 16 fixes
Red Hat 1 release · 1 package
eol 1
python-pillow
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-pillow +5 | eol |
alpine 4 releases · 1 package
fixed 4
py3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | py3-pillow | 8.1.2-r0 |
| 3.23 | py3-pillow | 8.1.2-r0 |
| 3.24 | py3-pillow | 8.1.2-r0 |
| edge | py3-pillow | 8.1.2-r0 |
amazon linux 1 release · 1 package
fixed 1
python-pillow-debuginfo
| Release | Package | Fixed in |
|---|---|---|
| 2023 | python-pillow-debuginfo +6 | 9.4.0-2.amzn2023.0.1 |
debian 4 releases · 1 package
fixed 4
pillow
| Release | Package | Fixed in |
|---|---|---|
| 11 | pillow | 8.1.1-1 |
| 12 | pillow | 8.1.1-1 |
| 13 | pillow | 8.1.1-1 |
| 14 | pillow | 8.1.1-1 |
echo 1 release · 1 package
fixed 1
pillow
| Release | Package | Fixed in |
|---|---|---|
| pillow | 8.1.1-1 |
openSUSE 1 release · 3 packages
fixed 3
python310-pillow
python313-pillow
python36-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python310-pillow +5 | 10.3.0-1.1 | openSUSE-SU-2024:13827-1 |
| Tumbleweed | python313-pillow +3 | 12.3.0-1.1 | openSUSE-SU-2026:11261-1 |
| Tumbleweed | python36-pillow +5 | 8.3.2-1.2 | openSUSE-SU-2024:11209-1 |
ubuntu 2 releases · 1 package
fixed 2
pillow
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | pillow | 7.0.0-4ubuntu0.3 |
| 20.04-ESM | pillow | 7.0.0-4ubuntu0.3 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-25291
- github.com https://github.com/advisories/GHSA-mvg9-xffr-p774
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-37.yaml
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/8b8076bdcb3815be0ef0d279651d8d1342b8ea61
- github.com https://github.com/python-pillow/Pillow/commit/cbdce6c5d054fccaf4af34b47f212355c64ace7a
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-25291
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
- security.gentoo.org https://security.gentoo.org/glsa/202107-33
- ubuntu.com https://ubuntu.com/security/notices/USN-4763-1
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.