Gentoo: abcm2ps Buffer overflow vulnerability
Posted by Joe Shakespeare   
Gentoo abcm2ps is vulnerable to a buffer overflow that could lead to remote execution of arbitrary code.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                        GLSA 200412-18:02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: abcm2ps: Buffer overflow vulnerability
      Date: December 19, 2004
   Updated: December 19, 2004
      Bugs: #74702
        ID: 200412-18:02

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

abcm2ps is vulnerable to a buffer overflow that could lead to remote
execution of arbitrary code.

Background
==========

abcm2ps is a utility used to convert ABC music sheet files into
PostScript format.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /  Vulnerable  /                  Unaffected
    -------------------------------------------------------------------
  1  media-sound/abcm2ps      < 3.7.21                       >= 3.7.21

Description
===========

Limin Wang has located a buffer overflow inside the put_words()
function in the abcm2ps code.

Impact
======

A remote attacker could convince the victim to download a
specially-crafted ABC file. Upon execution, this file would trigger the
buffer overflow and lead to the execution of arbitrary code with the
permissions of the user running abcm2ps.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All abcm2ps users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-sound/abcm2ps-3.7.21"

References
==========

  [ 1 ] abcm2ps ChangeLog
        http://moinejf.free.fr/abcm2ps-3.txt
  [ 2 ] Secunia Advisory
        http://secunia.com/advisories/13523/

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200412-18.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
http://bugs.gentoo.org.

License
=======

Copyright 2004 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.0