GLSA-200712-04 : Cairo: User-assisted execution of arbitrary code

This script is Copyright (C) 2007-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-200712-04
(Cairo: User-assisted execution of arbitrary code)

Multiple integer overflows were reported, one of which Peter Valchev
(Google Security) found to be leading to a heap-based buffer overflow
in the cairo_image_surface_create_from_png() function that processes
PNG images.

Impact :

A remote attacker could entice a user to view or process a specially
crafted PNG image file in an application linked against Cairo, possibly
leading to 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-200712-04.xml

Solution :

All Cairo users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=x11-libs/cairo-1.4.12'

Risk factor :

Medium / CVSS Base Score : 6.8
(CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.0
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 29291 (gentoo_GLSA-200712-04.nasl)

Bugtraq ID: 26650

CVE ID: CVE-2007-5503