Lucene search

K
gentooGentoo FoundationGLSA-201206-15
HistoryJun 22, 2012 - 12:00 a.m.

libpng: Multiple vulnerabilities

2012-06-2200:00:00
Gentoo Foundation
security.gentoo.org
16

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.832 High

EPSS

Percentile

98.4%

Background

libpng is a standard library used to process PNG (Portable Network Graphics) images. It is used by several programs, including web browsers and potentially server processes.

Description

Multiple vulnerabilities have been discovered in libpng:

  • The “embedded_profile_len()” function in pngwutil.c does not check for negative values, resulting in a memory leak (CVE-2009-5063).
  • The “png_format_buffer()” function in pngerror.c contains an off-by-one error (CVE-2011-2501).
  • The “png_rgb_to_gray()” function in pngrtran.c contains an integer overflow error (CVE-2011-2690).
  • The “png_err()” function in pngerror.c contains a NULL pointer dereference error (CVE-2011-2691).
  • The “png_handle_sCAL()” function in pngrutil.c improperly handles malformed sCAL chunks(CVE-2011-2692).
  • The “png_decompress_chunk()” function in pngrutil.c contains an integer overflow error (CVE-2011-3026).
  • The “png_inflate()” function in pngrutil.c contains and out of bounds error (CVE-2011-3045).
  • The “png_set_text_2()” function in pngset.c contains an error which could result in memory corruption (CVE-2011-3048).
  • The “png_formatted_warning()” function in pngerror.c contains an off-by-one error (CVE-2011-3464).

Impact

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

Workaround

There is no known workaround at this time.

Resolution

All libpng 1.5 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-libs/libpng-1.5.10"

All libpng 1.2 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-libs/libpng-1.2.49"

Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying some of these packages.

OSVersionArchitecturePackageVersionFilename
Gentooanyallmedia-libs/libpng< 1.5.10UNKNOWN

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.832 High

EPSS

Percentile

98.4%