Ubuntu update for pillow



Published: 2021-05-19
Risk Medium
Patch available YES
Number of vulnerabilities 6
CVE-ID CVE-2021-25287
CVE-2021-25288
CVE-2021-28675
CVE-2021-28676
CVE-2021-28677
CVE-2021-28678
CWE-ID CWE-125
CWE-399
CWE-835
CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

python3-pil (Ubuntu package)
Operating systems & Components / Operating system package or component

python-pil (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 6 vulnerabilities.

1) Out-of-bounds read

EUVDB-ID: #VU52187

Risk: Medium

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

CVE-ID: CVE-2021-25287

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

Exploit availability: No

Description

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

The vulnerability exists due to a boundary condition in Jpeg2KDecode method. A remote attacker can create a specially crafted J2k image, trigger out-of-bounds read error and read contents of memory on the system.

Mitigation

Update the affected package pillow to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 21.04

python3-pil (Ubuntu package): before 8.1.2-1ubuntu0.1

python-pil (Ubuntu package): before 5.1.0-1ubuntu0.6

External links

http://ubuntu.com/security/notices/USN-4963-1


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: #VU52188

Risk: Medium

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

CVE-ID: CVE-2021-25288

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

Exploit availability: No

Description

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

The vulnerability exists due to a boundary condition in Jpeg2KDecode method. A remote attacker can create a specially crafted J2k image, trigger out-of-bounds read error and read contents of memory on the system.

Mitigation

Update the affected package pillow to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 21.04

python3-pil (Ubuntu package): before 8.1.2-1ubuntu0.1

python-pil (Ubuntu package): before 5.1.0-1ubuntu0.6

External links

http://ubuntu.com/security/notices/USN-4963-1


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) Resource management error

EUVDB-ID: #VU52189

Risk: Medium

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

CVE-ID: CVE-2021-28675

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper management of internal resources in PsdImagePlugin.PsdImageFile method. A remote attacker can pass specially crafted file to the application and perform a denial of service (DoS) attack.

Mitigation

Update the affected package pillow to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 21.04

python3-pil (Ubuntu package): before 8.1.2-1ubuntu0.1

python-pil (Ubuntu package): before 5.1.0-1ubuntu0.6

External links

http://ubuntu.com/security/notices/USN-4963-1


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.

4) Infinite loop

EUVDB-ID: #VU52190

Risk: Medium

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

CVE-ID: CVE-2021-28676

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop in FliDecode.c. A remote attacker can consume all available system resources and cause denial of service conditions.

Mitigation

Update the affected package pillow to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 21.04

python3-pil (Ubuntu package): before 8.1.2-1ubuntu0.1

python-pil (Ubuntu package): before 5.1.0-1ubuntu0.6

External links

http://ubuntu.com/security/notices/USN-4963-1


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.

5) Input validation error

EUVDB-ID: #VU52191

Risk: Medium

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

CVE-ID: CVE-2021-28677

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when processing new line characters, such as "\r", "\n" when opening files. A remote attacker can pass specially crafted file to the application and perform a denial of service (DoS) attack.

Mitigation

Update the affected package pillow to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 21.04

python3-pil (Ubuntu package): before 8.1.2-1ubuntu0.1

python-pil (Ubuntu package): before 5.1.0-1ubuntu0.6

External links

http://ubuntu.com/security/notices/USN-4963-1


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.

6) Resource management error

EUVDB-ID: #VU52192

Risk: Medium

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

CVE-ID: CVE-2021-28678

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper management of internal resources in BlpImagePlugin. A remote attacker can pass specially crafted file to the application and perform a denial of service (DoS) attack.

Mitigation

Update the affected package pillow to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 21.04

python3-pil (Ubuntu package): before 8.1.2-1ubuntu0.1

python-pil (Ubuntu package): before 5.1.0-1ubuntu0.6

External links

http://ubuntu.com/security/notices/USN-4963-1


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###