Joined: 12 May 2004
|Posted: Tue Dec 02, 2008 7:26 pm Post subject: [ GLSA 200812-02 ] enscript: User-assisted execution of arbi
|Gentoo Linux Security Advisory
Title: enscript: User-assisted execution of arbitrary code (GLSA 200812-02)
Date: December 02, 2008
Two buffer overflows in enscript might lead to the execution of arbitrary code.
enscript is a powerful ASCII to PostScript file converter.
Vulnerable: < 1.6.4-r4
Unaffected: >= 1.6.4-r4
Architectures: All supported architectures
Two stack-based buffer overflows in the read_special_escape() function in src/psgen.c have been reported. Ulf Harnhammar of Secunia Research discovered a vulnerability related to the "setfilename" command (CVE-2008-3863), and Kees Cook of Ubuntu discovered a vulnerability related to the "font" escape sequence (CVE-2008-4306).
An attacker could entice a user or automated system to process specially crafted input with the special escapes processing enabled using the "-e" option, possibly resulting in the execution of arbitrary code.
There is no known workaround at this time.
All enscript users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/enscript-1.6.4-r4"