Ubuntu 6.06 LTS / 7.10 / 8.04 LTS / 8.10 : libpng vulnerabilities (USN-730-1)

Ubuntu Security Notice (C) 2009-2013 Canonical, Inc. / NASL script (C) 2009-2013 Tenable Network Security, Inc.


Synopsis :

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

Description :

It was discovered that libpng did not properly perform bounds checking
in certain operations. An attacker could send a specially crafted PNG
image and cause a denial of service in applications linked against
libpng. This issue only affected Ubuntu 8.04 LTS. (CVE-2007-5268,
CVE-2007-5269)

Tavis Ormandy discovered that libpng did not properly initialize
memory. If a user or automated system were tricked into opening a
crafted PNG image, an attacker could cause a denial of service via
application crash, or possibly execute arbitrary code with the
privileges of the user invoking the program. This issue did not affect
Ubuntu 8.10. (CVE-2008-1382)

Harald van Dijk discovered an off-by-one error in libpng. An attacker
could could cause an application crash in programs using pngtest.
(CVE-2008-3964)

It was discovered that libpng did not properly NULL terminate a
keyword string. An attacker could exploit this to set arbitrary memory
locations to zero. (CVE-2008-5907)

Glenn Randers-Pehrson discovered that libpng did not properly
initialize pointers. If a user or automated system were tricked into
opening a crafted PNG file, an attacker could cause a denial of
service or possibly execute arbitrary code with the privileges of the
user invoking the program. (CVE-2009-0040).

Solution :

Update the affected libpng12-0, libpng12-dev and / or libpng3
packages.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 6.2
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Ubuntu Local Security Checks

Nessus Plugin ID: 37042 ()

Bugtraq ID: 25956
28276
33827

CVE ID: CVE-2007-5268
CVE-2007-5269
CVE-2008-1382
CVE-2008-3964
CVE-2008-5907
CVE-2009-0040