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

Severity:normal
Title:Ghostscript: User-assisted execution of arbitrary code
Date:03/23/2009
Bugs: #261087
ID:200903-37

Synopsis

Multiple integer overflows in the Ghostscript ICC library might allow for user-assisted execution of arbitrary code.

Background

Ghostscript is an interpreter for the PostScript language and the Portable Document Format (PDF).

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-text/ghostscript-gpl < 8.64-r2 >= 8.64-r2 All supported architectures
app-text/ghostscript-gnu < 8.62.0 >= 8.62.0 All supported architectures
app-text/ghostscript-esp <= 8.15.4-r1 All supported architectures

Description

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.

Resolution

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.

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200903-37.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!