python-pillow/pillow · Security
Out-of-bounds Read in Pillow
- GHSA ID
- GHSA-77gc-v2xv-rvvh
- CVE ID
- CVE-2021-25287
- Severity
- high
- Published
- Updated
- CVSS
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- CVSS v3
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- CVSS v4
- 8.8 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
Description
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
CWEs
- CWE-125 · Out-of-bounds Read
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-25287 ↗
- https://github.com/python-pillow/Pillow/pull/5377#issuecomment-833821470 ↗
- https://github.com/python-pillow/Pillow/pull/5377/commits/3bf5eddb89afdf690eceaa52bc4d3546ba9a5f87 ↗
- https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-25287-cve-2021-25288-fix-oob-read-in-jpeg2kdecode ↗
- https://security.gentoo.org/glsa/202107-33 ↗
- https://github.com/python-pillow/Pillow/commit/3bf5eddb89afdf690eceaa52bc4d3546ba9a5f87 ↗
- https://github.com/advisories/GHSA-77gc-v2xv-rvvh ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-137.yaml ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL ↗