Debian update for pillow



Published: 2022-01-25
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2022-22815
CVE-2022-22816
CVE-2022-22817
CWE-ID CWE-22
CWE-125
CWE-749
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
pillow (Debian package)
Operating systems & Components / Operating system package or component

Vendor Debian

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Path traversal

EUVDB-ID: #VU60001

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-22815

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in path_getbbox() function in path.c. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Mitigation

Update pillow package to one of the following versions: 5.4.1-2+deb10u3, 8.1.2+dfsg-0.3+deb11u1.

Vulnerable software versions

pillow (Debian package): 5.4.1 - 5.4.1-2+deb10u2

External links

http://www.debian.org/security/2022/dsa-5053


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Out-of-bounds read

EUVDB-ID: #VU60002

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-22816

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to buffer over-read during initialization of ImagePath.Path in path_getbbox() function in path.c. A remote attacker can pass a specially crafted file to the affected library and read contents of memory on the system.

Mitigation

Update pillow package to one of the following versions: 5.4.1-2+deb10u3, 8.1.2+dfsg-0.3+deb11u1.

Vulnerable software versions

pillow (Debian package): 5.4.1 - 5.4.1-2+deb10u2

External links

http://www.debian.org/security/2022/dsa-5053


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Exposed dangerous method or function

EUVDB-ID: #VU60003

Risk: High

CVSSv3.1: 8.5 [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]

CVE-ID: CVE-2022-22817

CWE-ID: CWE-749 - Exposed Dangerous Method or Function

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to usage of PIL.ImageMath.eval() function on arbitrary expressions. A remote attacker can pass specially crafted file to the library and execute arbitrary code on the system.

Mitigation

Update pillow package to one of the following versions: 5.4.1-2+deb10u3, 8.1.2+dfsg-0.3+deb11u1.

Vulnerable software versions

pillow (Debian package): 5.4.1 - 5.4.1-2+deb10u2

External links

http://www.debian.org/security/2022/dsa-5053


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###