portage-ng / portage / app-text / enscript / 1.6.6-r1
portage-ng glsa
2 advisories reference app-text/enscript · none place version 1.6.6-r1 in a vulnerable range
▸ GLSA 200812-02 enscript: User-assisted execution of arbitrary code this version unaffected normal remote 2008-12-02

Two buffer overflows in enscript might lead to the execution of arbitrary code.

Announced
2008-12-02
Revised
2008-12-02 (revision 2)
Access
remote
Bugs
#243228
Advisory
https://security.gentoo.org/glsa/200812-02

Affected packages

PackageArchVulnerableUnaffected
app-text/enscript*< 1.6.4-r4>= 1.6.4-r4

Background

enscript is a powerful ASCII to PostScript file converter.

Description

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).

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All enscript users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/enscript-1.6.4-r4"

References

▸ GLSA 200502-03 enscript: Multiple vulnerabilities this version unaffected normal remote 2005-02-02

enscript suffers from vulnerabilities and design flaws, potentially resulting in the execution of arbitrary code.

Announced
2005-02-02
Revised
2005-02-02
Access
remote
Bugs
#77408
Advisory
https://security.gentoo.org/glsa/200502-03

Affected packages

PackageArchVulnerableUnaffected
app-text/enscript*< 1.6.3-r3>= 1.6.3-r3

Background

enscript is a powerful ASCII to PostScript file converter.

Description

Erik Sjolund discovered several issues in enscript: it suffers from several buffer overflows (CAN-2004-1186), quotes and shell escape characters are insufficiently sanitized in filenames (CAN-2004-1185), and it supported taking input from an arbitrary command pipe, with unwanted side effects (CAN-2004-1184).

Impact

An attacker could design malicious files or input data which, once feeded into enscript, would trigger the execution of arbitrary code with the rights of the user running enscript.

Workaround

There is no known workaround at this time.

Resolution

All enscript users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/enscript-1.6.3-r3"

References