OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[OpenPKG-SA-2003.030] OpenPKG Security Advisory (ghostscript)

From: OpenPKG (openpkgopenpkg.org)
Date: Tue Jun 03 2003 - 08:47:49 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

________________________________________________________________________

OpenPKG Security Advisory The OpenPKG Project
http://www.openpkg.org/security.html http://www.openpkg.org
openpkg-securityopenpkg.org openpkgopenpkg.org
OpenPKG-SA-2003.030 03-Jun-2003
________________________________________________________________________

Package: ghostscript
Vulnerability: execute arbitrary commands
OpenPKG Specific: no

Affected Releases: Affected Packages: Corrected Packages:
OpenPKG CURRENT <= ghostscript-7.04-20021013 >= ghostscript-8.00-20021122
OpenPKG 1.2 none N.A.
OpenPKG 1.1 <= ghostscript-7.04-1.1.0 >= ghostscript-7.04-1.1.1

Dependent Packages: none

Description:
  According to a Red Hat security advisory [0], a flaw in versions of
  Ghostscript [1] before 7.07 allows malicious Postscript files to
  execute arbitrary commands even with command line option -dSAFER
  enabled. The Common Vulnerabilities and Exposures (CVE) project
  assigned the id CAN-2003-0354 [2] to the problem.

  Please check whether you are affected by running "<prefix>/bin/rpm -q
  ghostscript". If you have the "ghostscript" package installed and its
  version is affected (see above), we recommend that you immediately
  upgrade it (see Solution) [3][4]

Solution:
  Select the updated source RPM appropriate for your OpenPKG release
  [5], fetch it from the OpenPKG FTP service [6] or a mirror location,
  verify its integrity [7], build a corresponding binary RPM from it [3]
  and update your OpenPKG installation by applying the binary RPM [4].
  For the affected release OpenPKG 1.1, perform the following operations
  to permanently fix the security problem (for other releases adjust
  accordingly).

  $ ftp ftp.openpkg.org
  ftp> bin
  ftp> cd release/1.1/UPD
  ftp> get ghostscript-7.04-1.1.1.src.rpm
  ftp> bye
  $ <prefix>/bin/rpm -v --checksig ghostscript-7.04-1.1.1.src.rpm
  $ <prefix>/bin/rpm --rebuild ghostscript-7.04-1.1.1.src.rpm
  $ su -
  # <prefix>/bin/rpm -Fvh <prefix>/RPM/PKG/ghostscript-7.04-1.1.1.*.rpm
________________________________________________________________________

References:
  [0] http://rhn.redhat.com/errata/RHSA-2003-181.html
  [1] http://www.ghostscript.com/
  [2] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0354
  [3] http://www.openpkg.org/tutorial.html#regular-source
  [4] http://www.openpkg.org/tutorial.html#regular-binary
  [5] ftp://ftp.openpkg.org/release/1.1/UPD/ghostscript-7.04-1.1.1.src.rpm
  [6] ftp://ftp.openpkg.org/release/1.1/UPD/
  [7] http://www.openpkg.org/security.html#signature
________________________________________________________________________

For security reasons, this advisory was digitally signed with the
OpenPGP public key "OpenPKG <openpkgopenpkg.org>" (ID 63C4CB9F) of the
OpenPKG project which you can retrieve from http://pgp.openpkg.org and
hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/
for details on how to verify the integrity of this advisory.
________________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Comment: OpenPKG <openpkgopenpkg.org>

iD8DBQE+3KXxgHWT4GPEy58RArfyAKCKyv2LwPP8USQ0cJ3pWrMim6YsjwCg9WVC
xg22arGdd28YhSOM8TRoHNE=
=sLls
-----END PGP SIGNATURE-----