Vulnerability Name:

CVE-2021-27923 (CCN-197689)

Assigned:2021-03-03
Published:2021-03-03
Updated:2022-07-12
Summary:Pillow before 8.1.1 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICO container, and thus an attempted memory allocation can be very large.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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): None
Integrity (I): None
Availibility (A): High
5.5 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)
4.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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): None
Integrity (I): None
Availibility (A): High
7.5 High (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-20
CWE-400
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2021-27923

Source: XF
Type: UNKNOWN
pillow-cve202127923-dos(197689)

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-9016a9b7bd

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-15845d3abe

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-0ece308612

Source: CCN
Type: Pillow Web site
Pillow

Source: MISC
Type: Release Notes, Vendor Advisory
https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html

Source: GENTOO
Type: Third Party Advisory
GLSA-202107-33

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

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:32:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*

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

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

  • Configuration CCN 1:
  • cpe:/a:python:pillow:8.1.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.redhat.rhsa:def:20214149
    P
    RHSA-2021:4149: python-pillow security update (Moderate)
    2021-11-09
    oval:org.opensuse.security:def:111006
    P
    Security update for python-CairoSVG, python-Pillow (Moderate)
    2021-08-10
    oval:org.opensuse.security:def:84617
    P
    Security update for python-Pillow (Important)
    2021-06-10
    oval:org.opensuse.security:def:88137
    P
    Security update for python-Pillow (Important)
    2021-06-10
    oval:org.opensuse.security:def:81081
    P
    Security update for python-Pillow (Important)
    2021-06-10
    oval:org.opensuse.security:def:88450
    P
    Security update for python-Pillow (Important)
    2021-06-10
    oval:org.opensuse.security:def:84159
    P
    Security update for python-Pillow (Important)
    2021-06-10
    BACK
    python pillow *
    fedoraproject fedora 32
    fedoraproject fedora 33
    fedoraproject fedora 34
    python pillow 8.1.0