FreeBSD : py-imaging, py-pillow -- Buffer overflow in PCD decoder (a8de962a-cf15-11e5-805c-5453ed2e2b49)

high Nessus Plugin ID 88673

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The Pillow maintainers report :

In all versions of Pillow, dating back at least to the last PIL 1.1.7 release, PcdDecode.c has a buffer overflow error.

The state.buffer for PcdDecode.c is allocated based on a 3 bytes per pixel sizing, where PcdDecode.c wrote into the buffer assuming 4 bytes per pixel. This writes 768 bytes beyond the end of the buffer into other Python object storage. In some cases, this causes a segfault, in others an internal Python malloc error.

Solution

Update the affected packages.

See Also

https://www.openwall.com/lists/oss-security/2016/02/02/5

http://www.nessus.org/u?688f59da

https://github.com/python-pillow/Pillow/issues/568

http://www.nessus.org/u?ad2c12b0

Plugin Details

Severity: High

ID: 88673

File Name: freebsd_pkg_a8de962acf1511e5805c5453ed2e2b49.nasl

Version: 2.4

Type: local

Published: 2/10/2016

Updated: 1/4/2021

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py27-imaging, p-cpe:/a:freebsd:freebsd:py27-pillow, p-cpe:/a:freebsd:freebsd:py33-pillow, p-cpe:/a:freebsd:freebsd:py34-pillow, p-cpe:/a:freebsd:freebsd:py35-pillow, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2/9/2016

Vulnerability Publication Date: 2/2/2016