ID CVE-2020-5313
Summary libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
References
Vulnerable Configurations
  • cpe:2.3:a:python:pillow:-:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:-:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.1:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.2:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.3:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.4:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.5:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.6:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.7.2:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.7.3:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.7.3:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.7.4:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.7.4:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.7.5:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.7.5:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.7.6:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.7.6:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.7.7:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:1.7.8:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:1.7.8:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.5.3:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.6.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.6.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.8.1:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.8.2:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.9.0:dev0:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.9.0:dev0:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.9.0:dev1:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.9.0:dev1:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:2.9.0:dev2:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:2.9.0:dev2:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:3.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:3.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:3.0.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:3.0.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:3.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:3.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:3.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:3.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:3.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:3.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:3.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:3.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:4.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:4.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:4.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:4.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:4.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:4.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:4.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:4.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:4.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:4.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:4.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:4.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:5.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:5.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:5.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:5.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:5.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:5.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:5.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:5.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:5.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:5.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:5.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:5.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:6.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:6.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:python:pillow:6.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:python:pillow:6.2.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
CVSS
Base: 5.8 (as of 24-01-2023 - 01:43)
Impact:
Exploitability:
CWE CWE-125
CAPEC
  • Infiltration of Hardware Development Environment
    An attacker, leveraging the ability to manipulate components of primary support systems and tools within the development and production environments, inserts malicious software within the hardware and/or firmware development environment. The infiltration purpose is to alter developed hardware components in a system destined for deployment at the victim's organization, for the purpose of disruption or further compromise.
  • Overread Buffers
    An adversary attacks a target by providing input that causes an application to read beyond the boundary of a defined buffer. This typically occurs when a value influencing where to start or stop reading is set to reflect positions outside of the valid memory location of the buffer. This type of attack may result in exposure of sensitive information, a system crash, or arbitrary code execution.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE PARTIAL
cvss-vector via4 AV:N/AC:M/Au:N/C:P/I:N/A:P
redhat via4
advisories
  • bugzilla
    id 1852814
    title CVE-2020-11538 python-pillow: out-of-bounds reads/writes in the parsing of SGI image files in expandrow/expandrow2
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 8 is installed
        oval oval:com.redhat.rhba:tst:20193384074
      • OR
        • AND
          • comment python-pillow-debugsource is earlier than 0:5.1.1-12.el8_2
            oval oval:com.redhat.rhsa:tst:20203185001
          • comment python-pillow-debugsource is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20200580002
        • AND
          • comment python3-pillow is earlier than 0:5.1.1-12.el8_2
            oval oval:com.redhat.rhsa:tst:20203185003
          • comment python3-pillow is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20200580004
    rhsa
    id RHSA-2020:3185
    released 2020-07-28
    severity Important
    title RHSA-2020:3185: python-pillow security update (Important)
  • bugzilla
    id 1789532
    title CVE-2020-5313 python-pillow: out-of-bounds read in ImagingFliDecode when loading FLI images
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 7 is installed
        oval oval:com.redhat.rhba:tst:20150364027
      • OR
        • AND
          • comment python-pillow is earlier than 0:2.0.0-21.gitd1c6db8.el7
            oval oval:com.redhat.rhsa:tst:20203887001
          • comment python-pillow is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20200578002
        • AND
          • comment python-pillow-devel is earlier than 0:2.0.0-21.gitd1c6db8.el7
            oval oval:com.redhat.rhsa:tst:20203887003
          • comment python-pillow-devel is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20200578004
        • AND
          • comment python-pillow-doc is earlier than 0:2.0.0-21.gitd1c6db8.el7
            oval oval:com.redhat.rhsa:tst:20203887005
          • comment python-pillow-doc is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20200578006
        • AND
          • comment python-pillow-qt is earlier than 0:2.0.0-21.gitd1c6db8.el7
            oval oval:com.redhat.rhsa:tst:20203887007
          • comment python-pillow-qt is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20200578008
        • AND
          • comment python-pillow-sane is earlier than 0:2.0.0-21.gitd1c6db8.el7
            oval oval:com.redhat.rhsa:tst:20203887009
          • comment python-pillow-sane is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20200578010
        • AND
          • comment python-pillow-tk is earlier than 0:2.0.0-21.gitd1c6db8.el7
            oval oval:com.redhat.rhsa:tst:20203887011
          • comment python-pillow-tk is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20200578012
    rhsa
    id RHSA-2020:3887
    released 2020-09-29
    severity Moderate
    title RHSA-2020:3887: python-pillow security update (Moderate)
rpms
  • python-pillow-debuginfo-0:5.1.1-12.el8_2
  • python-pillow-debugsource-0:5.1.1-12.el8_2
  • python3-pillow-0:5.1.1-12.el8_2
  • python3-pillow-debuginfo-0:5.1.1-12.el8_2
  • python3-pillow-tk-debuginfo-0:5.1.1-12.el8_2
  • python-pillow-0:2.0.0-21.gitd1c6db8.el7
  • python-pillow-debuginfo-0:2.0.0-21.gitd1c6db8.el7
  • python-pillow-devel-0:2.0.0-21.gitd1c6db8.el7
  • python-pillow-doc-0:2.0.0-21.gitd1c6db8.el7
  • python-pillow-qt-0:2.0.0-21.gitd1c6db8.el7
  • python-pillow-sane-0:2.0.0-21.gitd1c6db8.el7
  • python-pillow-tk-0:2.0.0-21.gitd1c6db8.el7
refmap via4
debian DSA-4631
fedora
  • FEDORA-2020-5cdbb19cca
  • FEDORA-2020-df444e464e
misc
ubuntu USN-4272-1
Last major update 24-01-2023 - 01:43
Published 03-01-2020 - 01:15
Last modified 24-01-2023 - 01:43
Back to Top