abcm2ps: Buffer overflow vulnerability — GLSA 200412-18

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

Affected Packages

media-sound/abcm2ps on all architectures
Affected versions < 3.7.21
Unaffected versions >= 3.7.21

Background

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

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

Release Date
December 19, 2004

Latest Revision
December 19, 2004: 02

Severity
normal

Exploitable
remote

Bugzilla entries