GLSA-200407-06 : libpng: Buffer overflow on row buffers

high Nessus Plugin ID 14539

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200407-06 (libpng: Buffer overflow on row buffers)

Due to a wrong calculation of loop offset values, libpng contains a buffer overflow vulnerability on the row buffers. This vulnerability was initially patched in January 2003 but since it has been discovered that libpng contains the same vulnerability in two other places.
Impact :

An attacker could exploit this vulnerability to cause programs linked against the library to crash or execute arbitrary code with the permissions of the user running the vulnerable program, which could be the root user.
Workaround :

There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.

Solution

All libpng users should upgrade to the latest stable version:
# emerge sync # emerge -pv '>=media-libs/libpng-1.2.5-r7' # emerge '>=media-libs/libpng-1.2.5-r7' You should also run revdep-rebuild to rebuild any packages that depend on older versions of libpng :
# revdep-rebuild

See Also

https://security.gentoo.org/glsa/200407-06

Plugin Details

Severity: High

ID: 14539

File Name: gentoo_GLSA-200407-06.nasl

Version: 1.14

Type: local

Published: 8/30/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libpng, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 7/8/2004

Reference Information

CVE: CVE-2002-1363

GLSA: 200407-06