GLSA-200711-08 : libpng: Multiple Denials of Service

medium Nessus Plugin ID 27825
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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-200711-08 (libpng: Multiple Denials of Service)

An off-by-one error when handling ICC profile chunks in the png_set_iCCP() function was discovered (CVE-2007-5266). George Cook and Jeff Phillips reported several errors in pngrtran.c, the use of logical instead of a bitwise functions and incorrect comparisons (CVE-2007-5268). Tavis Ormandy reported out-of-bounds read errors in several PNG chunk handling functions (CVE-2007-5269).
Impact :

A remote attacker could craft an image that when processed or viewed by an application using libpng would cause the application to terminate abnormally.
Workaround :

There is no known workaround at this time.

Solution

All libpng users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/libpng-1.2.21-r3'

See Also

https://security.gentoo.org/glsa/200711-08

Plugin Details

Severity: Medium

ID: 27825

File Name: gentoo_GLSA-200711-08.nasl

Version: 1.15

Type: local

Published: 11/8/2007

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: 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: 11/7/2007

Vulnerability Publication Date: 9/12/2007

Reference Information

CVE: CVE-2007-5266, CVE-2007-5268, CVE-2007-5269

GLSA: 200711-08

CWE: 20, 189