CVE-2020-5313
published 2020-01-03CVE-2020-5313: libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
PriorityP432high7.1CVSS 3.1
AVNACLPRNUIRSUCLINAH
EPSS
2.75%
84.7th percentile
libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | pillow | < pillow 7.0.0-1 (bookworm) | pillow 7.0.0-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| paloalto | pan-os | — | — |
| python | pillow | < 6.2.2 | 6.2.2 |
| python | pillow | >= 0 < 7.0.0-1 | 7.0.0-1 |
| python | pillow | >= 0 < 7.0.0-1 | 7.0.0-1 |
| python | pillow | >= 0 < 7.0.0-1 | 7.0.0-1 |
| python | pillow | >= 0 < 7.0.0-1 | 7.0.0-1 |
| python | pillow | >= 0 < 6.2.2 | 6.2.2 |
| python | pillow | >= 0 < 3.1.2-0ubuntu1.3 | 3.1.2-0ubuntu1.3 |
| python | pillow | >= 0 < 5.1.0-1ubuntu0.2 | 5.1.0-1ubuntu0.2 |
| python | pillow | >= 0 < 2.3.0-1ubuntu3.4+esm1 | 2.3.0-1ubuntu3.4+esm1 |
CVSS provenance
nvdv3.17.1HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:P
osv7.5HIGH
vendor_ubuntu7.5HIGH
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Palo Alto
PAN-SA-2024-0001 Informational Bulletin: Impact of OSS CVEs in PAN-OS
vendor_paloalto·2024-02-14·CVSS 9.8
CVE-2017-18342 [CRITICAL] PAN-SA-2024-0001 Informational Bulletin: Impact of OSS CVEs in PAN-OS
PAN-SA-2024-0001 Informational Bulletin: Impact of OSS CVEs in PAN-OS
The Palo Alto Networks Product Security Assurance team has evaluated the following open source software (OSS) CVEs as they relate to PAN-OS software. While PAN-OS software may include the
CVEs: CVE-2017-18342, CVE-2017-8923, CVE-2017-9120, CVE-2019-1551, CVE-2019-16865, CVE-2019-16905, CVE-2019-19523, CVE-2019-19528, CVE-2019-19911, CVE-2020-0404, CVE-2020-0431, CVE-2020-0466, CVE-2020-10379, CVE-2020-11538, CVE-2020-11608, CVE-2020-12114, CVE-2020-12321, CVE-2020-12362, CVE-2020-12363, CVE-2020-12364, CVE-2020-13757, CVE-2020-14314, CVE-2020-14351, CVE-2020-15778, CVE-2020-1967, CVE-2020-24394, CVE-2020-24504, CVE-2020-25211, CVE-2020-25212, CVE-2020-25284, CVE-2020-25285, CVE-2020-25717, CVE-2020-26541, CVE-2020-2715
Ubuntu
Pillow vulnerabilities
vendor_ubuntu·2020-02-06·CVSS 7.5
CVE-2019-16865 [HIGH] Pillow vulnerabilities
Title: Pillow vulnerabilities
Summary: Several security issues were fixed in Pillow.
It was discovered that Pillow incorrectly handled certain images.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2019-16865, CVE-2019-19911)
It was discovered that Pillow incorrectly handled certain images.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2020-5312)
It was discovered that Pillow incorrectly handled certain TIFF images.
An attacker could possibly use this issue to cause a crash. This issue
only affected Ubuntu 19.10. (CVE-2020-5310)
It was discovered that Pillow incorrectly handled certain SGI images.
An attacker could possibly use this issue to execute arbitrary code or
cause a crash. This issue only affected Ubuntu 18.04 and Ubun
Red Hat
python-pillow: out-of-bounds read in ImagingFliDecode when loading FLI images
vendor_redhat·2020-01-03·CVSS 7.1
CVE-2020-5313 [HIGH] CWE-125 python-pillow: out-of-bounds read in ImagingFliDecode when loading FLI images
python-pillow: out-of-bounds read in ImagingFliDecode when loading FLI images
libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
An out-of-bounds read was discovered in python-pillow in the way it decodes FLI images. An application that uses python-pillow to load untrusted images may be vulnerable to this flaw, which can allow an attacker to read the memory of the application they should be not allowed to read.
Package: python-imaging (Red Hat Enterprise Linux 5) - Out of support scope
Package: python-imaging (Red Hat Enterprise Linux 6) - Out of support scope
Debian
CVE-2020-5313: pillow - libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
vendor_debian·2020·CVSS 7.1
CVE-2020-5313 [HIGH] CVE-2020-5313: pillow - libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
Scope: local
bookworm: resolved (fixed in 7.0.0-1)
bullseye: resolved (fixed in 7.0.0-1)
forky: resolved (fixed in 7.0.0-1)
sid: resolved (fixed in 7.0.0-1)
trixie: resolved (fixed in 7.0.0-1)
OSV
Out-of-bounds Read in Pillow
osv·2020-04-01
CVE-2020-5313 [HIGH] Out-of-bounds Read in Pillow
Out-of-bounds Read in Pillow
`libImaging/FliDecode.c` in Pillow before 6.2.2 has an FLI buffer overflow.
GHSA
Out-of-bounds Read in Pillow
ghsa·2020-04-01
CVE-2020-5313 [HIGH] CWE-125 Out-of-bounds Read in Pillow
Out-of-bounds Read in Pillow
`libImaging/FliDecode.c` in Pillow before 6.2.2 has an FLI buffer overflow.
OSV
pillow vulnerabilities
osv·2020-02-06·CVSS 7.5
CVE-2019-16865 [HIGH] pillow vulnerabilities
pillow vulnerabilities
It was discovered that Pillow incorrectly handled certain images.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2019-16865, CVE-2019-19911)
It was discovered that Pillow incorrectly handled certain images.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2020-5312)
It was discovered that Pillow incorrectly handled certain TIFF images.
An attacker could possibly use this issue to cause a crash. This issue
only affected Ubuntu 19.10. (CVE-2020-5310)
It was discovered that Pillow incorrectly handled certain SGI images.
An attacker could possibly use this issue to execute arbitrary code or
cause a crash. This issue only affected Ubuntu 18.04 and Ubuntu 19.10.
(CVE-2020-5311)
It was discovered that Pillow incorr
OSV
CVE-2020-5313: libImaging/FliDecode
osv·2020-01-03·CVSS 7.1
CVE-2020-5313 [HIGH] CVE-2020-5313: libImaging/FliDecode
libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python3-pillow: various flaws [epel-7]
bugzilla·2020-01-09·CVSS 8.8
CVE-2020-5310 [HIGH] CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python3-pillow: various flaws [epel-7]
CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python3-pillow: various flaws [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template
Bugzilla
CVE-2020-5313 python-pillow: out-of-bounds read in ImagingFliDecode when loading FLI images
bugzilla·2020-01-09·CVSS 7.1
CVE-2020-5313 [HIGH] CVE-2020-5313 python-pillow: out-of-bounds read in ImagingFliDecode when loading FLI images
CVE-2020-5313 python-pillow: out-of-bounds read in ImagingFliDecode when loading FLI images
libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
Upstream patch:
https://github.com/python-pillow/Pillow/commit/a09acd0decd8a87ccce939d5ff65dab59e7d365b
References:
https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
Discussion:
Created python-pillow tracking bugs for this issue:
Affects: fedora-all [bug 1789541]
Created python3-pillow tracking bugs for this issue:
Affects: epel-7 [bug 1789542]
---
While Red Hat Quay includes the python-pillow it's not used, therefore this issue is rated moderate for Red Hat Quay.
---
Function ImagingFliDecode() in FliDecode.c uses a buffer `buf` of `bytes` bytes as input. However, it tries to read 2 bytes from the
Bugzilla
CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python-pillow: various flaws [fedora-all]
bugzilla·2020-01-09·CVSS 8.8
CVE-2020-5310 [HIGH] CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python-pillow: various flaws [fedora-all]
CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python-pillow: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multipl
https://github.com/python-pillow/Pillow/commit/a09acd0decd8a87ccce939d5ff65dab59e7d365bhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.htmlhttps://usn.ubuntu.com/4272-1/https://www.debian.org/security/2020/dsa-4631https://github.com/python-pillow/Pillow/commit/a09acd0decd8a87ccce939d5ff65dab59e7d365bhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.htmlhttps://usn.ubuntu.com/4272-1/https://www.debian.org/security/2020/dsa-4631
2020-01-03
Published