Lucene search

K
gentooGentoo FoundationGLSA-200405-06
HistoryMay 14, 2004 - 12:00 a.m.

libpng denial of service vulnerability

2004-05-1400:00:00
Gentoo Foundation
security.gentoo.org
19

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

0.021 Low

EPSS

Percentile

88.8%

Background

libpng is a standard library used to process PNG (Portable Network Graphics) images.

Description

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.

Resolution

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
OSVersionArchitecturePackageVersionFilename
Gentooanyallmedia-libs/libpng<= 1.2.5-r4UNKNOWN

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

0.021 Low

EPSS

Percentile

88.8%

Related for GLSA-200405-06