Vulnerability Name:

CVE-2020-5312 (CCN-173925)

Assigned:2020-01-03
Published:2020-01-03
Updated:2020-08-18
Summary:libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-120
CWE-119
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2020-5312

Source: REDHAT
Type: Third Party Advisory
RHSA-2020:0566

Source: REDHAT
Type: Third Party Advisory
RHSA-2020:0578

Source: REDHAT
Type: Third Party Advisory
RHSA-2020:0580

Source: REDHAT
Type: Third Party Advisory
RHSA-2020:0681

Source: REDHAT
Type: Third Party Advisory
RHSA-2020:0683

Source: REDHAT
Type: Third Party Advisory
RHSA-2020:0694

Source: XF
Type: UNKNOWN
pillow-pcx-cve20205312-bo(173925)

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd

Source: FEDORA
Type: Issue Tracking, Third Party Advisory
FEDORA-2020-df444e464e

Source: FEDORA
Type: Issue Tracking, Third Party Advisory
FEDORA-2020-5cdbb19cca

Source: CCN
Type: Pillow (PIL Fork) Docs
6.2.2 Release Notes

Source: MISC
Type: Release Notes, Third Party Advisory
https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html

Source: UBUNTU
Type: Third Party Advisory
USN-4272-1

Source: DEBIAN
Type: Third Party Advisory
DSA-4631

Source: CCN
Type: IBM Security Bulletin 6211878 (PowerAI)
A security vulnerability has been identified in Pillow shipped with IBM Watson Machine Learning Community Edition (WMLCE) containers

Vulnerable Configuration:Configuration 1:
  • cpe:/a:python:pillow:*:*:*:*:*:*:*:* (Version < 6.2.2)

  • Configuration 2:
  • cpe:/o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:30:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:31:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:7::client:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:7::computenode:*:*:*:*:*

  • Configuration RedHat 4:
  • cpe:/o:redhat:enterprise_linux:7::server:*:*:*:*:*

  • Configuration RedHat 5:
  • cpe:/o:redhat:enterprise_linux:7::workstation:*:*:*:*:*

  • Configuration RedHat 6:
  • cpe:/a:redhat:enterprise_linux:8:*:*:*:*:*:*:*

  • Configuration RedHat 7:
  • cpe:/a:redhat:enterprise_linux:8::appstream:*:*:*:*:*

  • Configuration RedHat 8:
  • cpe:/o:redhat:enterprise_linux:6:*:*:*:*:*:*:*

  • Configuration RedHat 9:
  • cpe:/o:redhat:enterprise_linux:6::client:*:*:*:*:*

  • Configuration RedHat 10:
  • cpe:/o:redhat:enterprise_linux:6::computenode:*:*:*:*:*

  • Configuration RedHat 11:
  • cpe:/o:redhat:enterprise_linux:6::server:*:*:*:*:*

  • Configuration RedHat 12:
  • cpe:/o:redhat:enterprise_linux:6::workstation:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:python:pillow:2.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:2.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:2.6.2:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:2.7.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:3.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:3.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:2.5.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:2.8.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:3.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:3.3.2:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:3.4.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:4.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:4.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:4.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:4.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:4.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:4.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:5.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:5.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:5.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:5.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:5.4.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:5.4.1:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:6.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:pillow:6.2.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20205312
    V
    CVE-2020-5312
    2022-05-22
    oval:org.opensuse.security:def:60393
    P
    Security update for postgresql10 (Important)
    2021-10-20
    oval:org.opensuse.security:def:59497
    P
    Security update for webkit2gtk3 (Important)
    2021-06-17
    oval:org.opensuse.security:def:59492
    P
    Security update for caribou (Important)
    2021-06-10
    oval:org.opensuse.security:def:60277
    P
    Security update for MozillaFirefox (Important)
    2021-06-08
    oval:org.opensuse.security:def:59745
    P
    Security update for libX11 (Important)
    2021-06-08
    oval:org.opensuse.security:def:60235
    P
    Security update for ImageMagick (Moderate)
    2021-04-20
    oval:org.opensuse.security:def:60489
    P
    Security update for tomcat (Important)
    2021-03-30
    oval:org.opensuse.security:def:59793
    P
    Security update for openvswitch (Important)
    2021-02-03
    oval:org.opensuse.security:def:59978
    P
    Security update for gdb (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:59066
    P
    Security update for the Linux Kernel (Live Patch 28 for SLE 12 SP2) (Important)
    2020-12-01
    oval:org.opensuse.security:def:60872
    P
    Security update for python-Twisted (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:59928
    P
    Security update for mariadb (Important)
    2020-12-01
    oval:org.opensuse.security:def:59089
    P
    Security update for spice (Important)
    2020-12-01
    oval:org.opensuse.security:def:60913
    P
    Security update for libssh2_org (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:60571
    P
    xf86-video-intel on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:59311
    P
    Security update for libproxy (Important)
    2020-12-01
    oval:org.opensuse.security:def:60698
    P
    Security update for qemu (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:60653
    P
    Security update for the Linux Kernel (Important)
    2020-12-01
    oval:org.opensuse.security:def:59334
    P
    Security update for postgresql, postgresql96, postgresql10 and postgresql12 (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:60726
    P
    Security update for ansible, ansible1, ardana-ansible, ardana-cluster, ardana-freezer, ardana-input-model, ardana-logging, ardana-mq, ardana-neutron, ardana-octavia, ardana-osconfig, caasp-openstack-heat-templates, crowbar-core, crowbar-openstack, documentation-suse-openstack-cloud, grafana, kibana, openstack-dashboard, openstack-dashboard-theme-HPE, openstack-heat-templates, openstack-keystone, openstack-monasca-agent, openstack-monasca-installer, openstack-neutron, openstack-octavia-amphora-image, python-Django, python-Flask, python-GitPython, python-Pillow, python-amqp, python-apicapi, python-keystoneauth1, python-oslo.messaging, python-psutil, python-pyroute2, python-pysaml2, python-tooz, python-waitress, storm (Important)
    2020-12-01
    oval:org.opensuse.security:def:60834
    P
    Security update for libzypp (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:59067
    P
    Security update for the Linux Kernel (Live Patch 29 for SLE 12 SP2) (Important)
    2020-12-01
    oval:org.opensuse.security:def:60963
    P
    Security update for qemu (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:60046
    P
    Security update for sqlite3 (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:59245
    P
    Security update for the Linux Kernel (Live Patch 33 for SLE 12 SP2) (Important)
    2020-12-01
    oval:org.opensuse.security:def:60992
    P
    Security update for ansible, ansible1, ardana-ansible, ardana-cluster, ardana-freezer, ardana-input-model, ardana-logging, ardana-mq, ardana-neutron, ardana-octavia, ardana-osconfig, caasp-openstack-heat-templates, crowbar-core, crowbar-openstack, documentation-suse-openstack-cloud, grafana, kibana, openstack-dashboard, openstack-dashboard-theme-HPE, openstack-heat-templates, openstack-keystone, openstack-monasca-agent, openstack-monasca-installer, openstack-neutron, openstack-octavia-amphora-image, python-Django, python-Flask, python-GitPython, python-Pillow, python-amqp, python-apicapi, python-keystoneauth1, python-oslo.messaging, python-psutil, python-pyroute2, python-pysaml2, python-tooz, python-waitress, storm (Important)
    2020-12-01
    oval:org.opensuse.security:def:60609
    P
    Security update for bzip2 (Important)
    2020-12-01
    oval:org.opensuse.security:def:60535
    P
    rsyslog on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:59678
    P
    Security update for java-1_8_0-openjdk (Important)
    2020-12-01
    oval:org.opensuse.security:def:59312
    P
    Security update for freetype2 (Important)
    2020-12-01
    oval:org.opensuse.security:def:60648
    P
    Security update for MozillaFirefox (Important)
    2020-12-01
    oval:org.opensuse.security:def:60750
    P
    Security update for xorg-x11-server (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:83992
    P
    Security update for ansible, ansible1, ardana-ansible, ardana-cluster, ardana-freezer, ardana-input-model, ardana-logging, ardana-mq, ardana-neutron, ardana-octavia, ardana-osconfig, caasp-openstack-heat-templates, crowbar-core, crowbar-openstack, documentation-suse-openstack-cloud, grafana, kibana, openstack-dashboard, openstack-dashboard-theme-HPE, openstack-heat-templates, openstack-keystone, openstack-monasca-agent, openstack-monasca-installer, openstack-neutron, openstack-octavia-amphora-image, python-Django, python-Flask, python-GitPython, python-Pillow, python-amqp, python-apicapi, python-keystoneauth1, python-oslo.messaging, python-psutil, python-pyroute2, python-pysaml2, python-tooz, python-waitress, storm (Important)
    2020-07-14
    oval:org.opensuse.security:def:84445
    P
    Security update for ansible, ansible1, ardana-ansible, ardana-cluster, ardana-freezer, ardana-input-model, ardana-logging, ardana-mq, ardana-neutron, ardana-octavia, ardana-osconfig, caasp-openstack-heat-templates, crowbar-core, crowbar-openstack, documentation-suse-openstack-cloud, grafana, kibana, openstack-dashboard, openstack-dashboard-theme-HPE, openstack-heat-templates, openstack-keystone, openstack-monasca-agent, openstack-monasca-installer, openstack-neutron, openstack-octavia-amphora-image, python-Django, python-Flask, python-GitPython, python-Pillow, python-amqp, python-apicapi, python-keystoneauth1, python-oslo.messaging, python-psutil, python-pyroute2, python-pysaml2, python-tooz, python-waitress, storm (Important)
    2020-07-14
    oval:com.redhat.rhsa:def:20200898
    P
    RHSA-2020:0898: python-imaging security update (Important)
    2020-03-18
    oval:com.redhat.rhsa:def:20200580
    P
    RHSA-2020:0580: python-pillow security update (Important)
    2020-02-24
    oval:com.redhat.rhsa:def:20200578
    P
    RHSA-2020:0578: python-pillow security update (Important)
    2020-02-24
    oval:com.ubuntu.disco:def:202053120000000
    V
    CVE-2020-5312 on Ubuntu 19.04 (disco) - medium.
    2020-01-03
    oval:com.ubuntu.bionic:def:202053120000000
    V
    CVE-2020-5312 on Ubuntu 18.04 LTS (bionic) - medium.
    2020-01-03
    oval:com.ubuntu.xenial:def:202053120000000
    V
    CVE-2020-5312 on Ubuntu 16.04 LTS (xenial) - medium.
    2020-01-03
    BACK
    python pillow *
    canonical ubuntu linux 14.04
    canonical ubuntu linux 16.04
    canonical ubuntu linux 18.04
    canonical ubuntu linux 19.10
    debian debian linux 9.0
    debian debian linux 10.0
    fedoraproject fedora 30
    fedoraproject fedora 31
    python pillow 2.3.0
    python pillow 2.3.1
    python pillow 2.6.2
    python pillow 2.7.0
    python pillow 3.1.0
    python pillow 3.3.1
    python pillow 2.5.0
    python pillow 2.8.0
    python pillow 3.0.0
    python pillow 3.3.2
    python pillow 3.4.0
    python pillow 4.0.0
    python pillow 4.1.0
    python pillow 4.1.1
    python pillow 4.2.0
    python pillow 4.2.1
    python pillow 4.3.0
    python pillow 5.0.0
    python pillow 5.1.0
    python pillow 5.2.0
    python pillow 5.3.0
    python pillow 5.4.0
    python pillow 5.4.1
    python pillow 6.0.0
    python pillow 6.2.0