GLSA-200903-37 : Ghostscript: User-assisted execution of arbitrary code

This script is Copyright (C) 2009-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-200903-37
(Ghostscript: User-assisted execution of arbitrary code)

Jan Lieskovsky from the Red Hat Security Response Team discovered the
following vulnerabilities in Ghostscript's ICC Library:
Multiple integer overflows (CVE-2009-0583).
Multiple
insufficient bounds checks on certain variable sizes
(CVE-2009-0584).

Impact :

A remote attacker could entice a user to open a specially crafted
PostScript file containing images and a malicious ICC profile, 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-200903-37.xml

Solution :

All GPL Ghostscript users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-text/ghostscript-gpl-8.64-r2'
All GNU Ghostscript users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-text/ghostscript-gnu-8.62.0'
We recommend that users unmerge ESP Ghostscript and use GPL or GNU
Ghostscript instead:
# emerge --unmerge 'app-text/ghostscript-esp'
For installation instructions, see above.

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 6.9
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 36003 (gentoo_GLSA-200903-37.nasl)

Bugtraq ID: 34184

CVE ID: CVE-2009-0583
CVE-2009-0584