GLSA-201006-02 : CamlImages: User-assisted execution of arbitrary code

This script is Copyright (C) 2010-2014 Tenable Network Security, Inc.


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-201006-02
(CamlImages: User-assisted execution of arbitrary code)

Tielei Wang reported multiple integer overflows, possibly leading to
heap-based buffer overflows in the (1) read_png_file() and
read_png_file_as_rgb24() functions, when processing a PNG image
(CVE-2009-2295) and (2) gifread.c and jpegread.c files when processing
GIF or JPEG images (CVE-2009-2660).
Other integer overflows were also found in tiffread.c (CVE-2009-3296).

Impact :

A remote attacker could entice a user to open a specially crafted,
overly large PNG, GIF, TIFF, or JPEG image using an application that
uses the CamlImages library, possibly resulting in the execution of
arbitrary code with the privileges of the user running the application.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201006-02.xml

Solution :

All CamlImages users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose =dev-ml/camlimages-3.0.2

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 46769 (gentoo_GLSA-201006-02.nasl)

Bugtraq ID:

CVE ID: CVE-2009-2295
CVE-2009-2660
CVE-2009-3296