CVE-2020-35655
python-pillow: Buffer over-read in SGI RLE image reader
Overview
Description
In Pillow before 8.1.0, SGIRleDecode has a 4-byte buffer over-read when decoding crafted SGI RLE image files because offsets and length tables are mishandled.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Weakness: CWE-125
Affected packages · 2
Operating systems · 21 fixes
Red Hat 2 releases · 2 packages
eol 1
fixed 1
python-pillow
python3-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | python-pillow +5 | eol | — |
| 8 | python3-pillow | 0:5.1.1-16.el8 | RHSA-2021:4149 |
alma 1 release · 1 package
fixed 1
python3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 8 | python3-pillow | 5.1.1-16.el8 |
alpine 4 releases · 1 package
fixed 4
py3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | py3-pillow | 8.1.0-r0 |
| 3.23 | py3-pillow | 8.1.0-r0 |
| 3.24 | py3-pillow | 8.1.0-r0 |
| edge | py3-pillow | 8.1.0-r0 |
debian 5 releases · 1 package
fixed 5
pillow
| Release | Package | Fixed in |
|---|---|---|
| 10 | pillow | 5.4.1-2+deb10u3 |
| 11 | pillow | 8.1.0-1 |
| 12 | pillow | 8.1.0-1 |
| 13 | pillow | 8.1.0-1 |
| 14 | pillow | 8.1.0-1 |
echo 1 release · 1 package
fixed 1
pillow
| Release | Package | Fixed in |
|---|---|---|
| pillow | 8.1.0-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 |
rocky 1 release · 1 package
fixed 1
python3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 8 | python3-pillow | 5.1.1-16.el8 |
ubuntu 4 releases · 1 package
fixed 4
pillow
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | pillow | 5.1.0-1ubuntu0.4 |
| 18.04-ESM | pillow | 5.1.0-1ubuntu0.4 |
| 20.04 | pillow | 7.0.0-4ubuntu0.2 |
| 20.04-ESM | pillow | 7.0.0-4ubuntu0.2 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2021:4149
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-35655
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1915420
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1915432
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1934685
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1934699
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1934705
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1935384
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1935396
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1935401
Show all 48 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1958226
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1958231
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1958240
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1958252
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1958257
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1958263
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1982378
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-35653
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-35655
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25287
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25288
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25290
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25292
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25293
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27921
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27922
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27923
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28675
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28676
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28677
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28678
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34552
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2021:4149
- github.com https://github.com/advisories/GHSA-hf64-x4gq-p99h
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-71.yaml
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/2f409261eb1228e166868f8f0b5da5cda52e55bf
- github.com https://github.com/python-pillow/Pillow/commit/7e95c63fa7f503f185d3d9eb16b9cee1e54d1e46
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-35655
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/8.1.0.html#security
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/index.html
- ubuntu.com https://ubuntu.com/security/notices/USN-4697-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-35655
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.