GLSA 200703-24: mgv: Stack overflow in included gv code

Severity:normal
Title:mgv: Stack overflow in included gv code
Date:03/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 Architecture(s)
app-text/mgv <= 3.1.5 All supported architectures

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

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 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!