Lucene search

K
archlinuxArchLinuxASA-202107-26
HistoryJul 14, 2021 - 12:00 a.m.

[ASA-202107-26] python-pillow: arbitrary code execution

2021-07-1400:00:00
security.archlinux.org
189

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.005 Low

EPSS

Percentile

75.4%

Arch Linux Security Advisory ASA-202107-26

Severity: Medium
Date : 2021-07-14
CVE-ID : CVE-2021-34552
Package : python-pillow
Type : arbitrary code execution
Remote : Yes
Link : https://security.archlinux.org/AVG-2150

Summary

The package python-pillow before version 8.3.0-1 is vulnerable to
arbitrary code execution.

Resolution

Upgrade to 8.3.0-1.

pacman -Syu “python-pillow>=8.3.0-1”

The problem has been fixed upstream in version 8.3.0.

Workaround

None.

Description

Pillow through 8.2.0 allows an attacker to pass controlled parameters
directly into a convert function to trigger a buffer overflow in
Convert.c.

Impact

Converting a crafted image file could lead to arbitrary code execution.

References

https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow
https://github.com/python-pillow/Pillow/pull/5567
https://github.com/python-pillow/Pillow/commit/518ee3722a99d7f7d890db82a20bd81c1c0327fb
https://security.archlinux.org/CVE-2021-34552

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanypython-pillow< 8.3.0-1UNKNOWN

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.005 Low

EPSS

Percentile

75.4%