FreeBSD : p5-Imager -- possibly exploitable buffer overflow (632c98be-aad2-4af2-849f-41a6862afd6a)

critical Nessus Plugin ID 25130

Synopsis

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

Description

Imager 0.56 and all earlier versions with BMP support have a security issue when reading compressed 8-bit per pixel BMP files where either a compressed run of data or a literal run of data overflows the scan-line.

Such an overflow causes a buffer overflow in a malloc() allocated memory buffer, possibly corrupting the memory arena headers.

The effect depends on your system memory allocator, with glibc this typically results in an abort, but with other memory allocators it may be possible to cause local code execution.

Solution

Update the affected package.

See Also

https://rt.cpan.org/Public/Bug/Display.html?id=26811

http://ifsec.blogspot.com/2007/04/several-windows-image-viewers.html

http://www.nessus.org/u?7000c911

Plugin Details

Severity: Critical

ID: 25130

File Name: freebsd_pkg_632c98beaad24af2849f41a6862afd6a.nasl

Version: 1.15

Type: local

Published: 5/2/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:p5-imager, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 4/30/2007

Vulnerability Publication Date: 4/4/2007

Reference Information

CVE: CVE-2007-1942, CVE-2007-1943, CVE-2007-1946, CVE-2007-1948