Buffer overflow in py3-pillow (Alpine package)



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

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

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

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=14dbfd18e91da1bc3429105cd84d52087ef20cfb
https://git.alpinelinux.org/aports/commit/?id=1e6b21459f8e485edb2b303646ab3726e05d6b63
https://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###