FreeBSD : libjpeg-turbo -- heap-based buffer overflow (a460035e-d111-11e1-aff7-001fd056c417)

medium Nessus Plugin ID 60056

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

The Changelog for version 1.2.1 says: Fixed a regression caused by 1.2.0[6] in which decompressing corrupt JPEG images (specifically, images in which the component count was erroneously set to a large value) would cause libjpeg-turbo to segfault.

A Heap-based buffer overflow was found in the way libjpeg-turbo decompressed certain corrupt JPEG images in which the component count was erroneously set to a large value. An attacker could create a specially crafted JPEG image that, when opened, could cause an application using libpng to crash or, possibly, execute arbitrary code with the privileges of the user running the application.

Solution

Update the affected package.

See Also

https://sourceforge.net/projects/libjpeg-turbo/files/1.2.1/README.txt

https://bugzilla.redhat.com/show_bug.cgi?id=826849

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

Plugin Details

Severity: Medium

ID: 60056

File Name: freebsd_pkg_a460035ed11111e1aff7001fd056c417.nasl

Version: 1.9

Type: local

Published: 7/19/2012

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:libjpeg-turbo, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 7/18/2012

Vulnerability Publication Date: 5/31/2012

Reference Information

CVE: CVE-2012-2806