GLSA-200812-02 : enscript: User-assisted execution of arbitrary code

High Nessus Plugin ID 35019


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200812-02 (enscript: User-assisted execution of arbitrary code)

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.


All enscript users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-text/enscript-1.6.4-r4'

See Also

Plugin Details

Severity: High

ID: 35019

File Name: gentoo_GLSA-200812-02.nasl

Version: $Revision: 1.12 $

Type: local

Published: 2008/12/03

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 9.3

Temporal Score: 8.1

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:enscript, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2008/12/02

Reference Information

CVE: CVE-2008-3863, CVE-2008-4306

BID: 31858

OSVDB: 49224, 49569

GLSA: 200812-02

CWE: 119