Buffer overflow in py3-pillow (Alpine package)



Published: 2021-01-24
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-19911
CWE-ID CWE-119
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
py3-pillow (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU24205

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-2019-19911

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

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

The vulnerability exists when processing FPX images due to the "FpxImagePlugin.py" calls the range function on an unvalidated 32-bit integer if the number of bands is large. A remote attacker can trigger memory corruption and cause a denial of service condition on the target system.

On Windows running 32-bit Python, this results in an OverflowError or MemoryError due to the 2 GB limit. However, on Linux running 64-bit Python this results in the process being terminated by the OOM killer.

Mitigation

Install update from vendor's website.

Vulnerable software versions

py3-pillow (Alpine package): 7.1.2-r0 - 7.2.0-r0

External links

http://git.alpinelinux.org/aports/commit/?id=14dbfd18e91da1bc3429105cd84d52087ef20cfb
http://git.alpinelinux.org/aports/commit/?id=1e6b21459f8e485edb2b303646ab3726e05d6b63
http://git.alpinelinux.org/aports/commit/?id=bd4e89c6a26bf7c247c3335b8a7aef053815dfc7


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