Gentoo Logo

mgv: Stack overflow in included gv code

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200703-24 / mgv
Release Date March 26, 2007
Latest Revision March 26, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-text/mgv <= 3.1.5 All supported architectures

Related bugreports: #154645

Synopsis

mgv improperly handles user-supplied data possibly allowing for the execution of arbitrary code.

2.  Impact Information

Background

mgv is a Postscript viewer with a Motif interface, based on Ghostview and GNU gv.

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.

3.  Resolution Information

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:

Code Listing 3.1: Resolution

# emerge --unmerge "app-text/mgv"

4.  References



Print

Page updated March 26, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.