Date: Mon, 26 Mar 2007 22:05:20 +0200
From: Raphael Marichez <falco@gentoo.org.>
To: [email protected]Subject: [ GLSA 200703-24 ] mgv: Stack overflow in included gv code
Message-ID: <20070326200520.GI25824@falco.falcal.net.>
Mail-Followup-To: [email protected],
[email protected], [email protected],
[email protected]
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="HG+GLK89HZ1zG0kk"
Content-Disposition: inline
X-Web: http://falco.bz/
X-GPG-fingerprint: 04EB 153A 6B28 3E80 87A9 9B4F A77C 4BDE 021C 5BD2
X-GPG-Key: http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0x021C5BD2
X-GPG-Subkey: http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0x0114FC45
Organization: Gentoo Linux Security Team
User-Agent: mutt-ng/devel-r804 (Linux)
X-Virus-Scanned: antivirus-gw at tyumen.ru
--HG+GLK89HZ1zG0kk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200703-24
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: mgv: Stack overflow in included gv code
Date: March 26, 2007
Bugs: #154645
ID: 200703-24
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
mgv improperly handles user-supplied data possibly allowing for the
execution of arbitrary code.
Background
==========
mgv is a Postscript viewer with a Motif interface, based on Ghostview
and GNU gv.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-text/mgv <= 3.1.5 Vulnerable!
-------------------------------------------------------------------
NOTE: Certain packages are still vulnerable. Users should migrate
to another package if one is available or wait for the
existing packages to be marked stable by their
architecture maintainers.
Description
===========
mgv includes code from gv that does not properly boundary check
user-supplied data before copying it into process buffers.
Impact
======
An attacker could entice a user to open a specially crafted Postscript
document with mgv and possibly execute arbitrary code with the rights
of the user running mgv.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
mgv is currently unmaintained, and the mgv website no longer exists. As
such, the mgv package has been masked in Portage. We recommend that
users select an alternate Postscript viewer such as ghostview or
GSview, and unmerge mgv:
# emerge --unmerge "app-text/mgv"
References
==========
[ 1 ] CVE-2006-5864
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5864
[ 2 ] GLSA 200611-20
http://www.gentoo.org/security/en/glsa/glsa-200611-20.xml
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200703-24.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
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2007 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.
http://creativecommons.org/licenses/by-sa/2.5
--HG+GLK89HZ1zG0kk
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRggngDvRww8BFPxFAQIwIQf/QKk3jXWJrMSssjrrJA7J/EbuJqUqHxIa
Uq7OefieJllxK5dpjcrgY+iXIGFkXaClavgCwHHe9RgAwkDWysLT78PrFpop+Hl2
huJ+DWCCP/myVzTBA3uK1qDzMLc2v7bhxfXmE1wUIPkxxcjrevIUi08Yfnqq38Wu
hjO9bXIj5KBXZJCD4aF/e+6CZROcu2TdCh9RBlI1fLAX8sgmsrJf27SZCClgNA2/
5nezn7WrK/cKkCZYTONjtEsqU8SNTJDAB7cL2EW9mDlx4rdedcDLPb82JRjHr3Nx
N4L/JtuFS6jq/XdIZNcaYiKdM0eaOUvDvTxe/jfYKLznULvW00jDcw==
=T1RS
-----END PGP SIGNATURE-----
--HG+GLK89HZ1zG0kk--