GLSA-200405-06 : libpng denial of service vulnerability

medium Nessus Plugin ID 14492

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-200405-06 (libpng denial of service vulnerability)

libpng provides two functions (png_chunk_error and png_chunk_warning) for default error and warning messages handling. These functions do not perform proper bounds checking on the provided message, which is limited to 64 bytes. Programs linked against this library may crash when handling a malicious PNG image.
Impact :

This vulnerability could be used to crash various programs using the libpng library, potentially resulting in a denial of service attack on vulnerable daemon processes.
Workaround :

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

Solution

All users of libpng should upgrade to the latest stable version:
# emerge sync # emerge -pv '>=media-libs/libpng-1.2.5-r5' # emerge '>=media-libs/libpng-1.2.5-r5' 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/200405-06

Plugin Details

Severity: Medium

ID: 14492

File Name: gentoo_GLSA-200405-06.nasl

Version: 1.13

Type: local

Published: 8/30/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/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: 5/14/2004

Reference Information

CVE: CVE-2004-0421

GLSA: 200405-06