GNU enscript read_special_escape() buffer overflow

enscript-readspecialescape-bo (46026) The risk level is classified as HighHigh Risk

Description:

GNU enscript is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the read_special_escape() function. By persuading a victim to convert a specially-crafted ASCII file to PostScript with the -e option enabled, a remote attacker could overflow a buffer and execute arbitrary code on the system with elevated privileges or cause the application to crash.

Platforms Affected:

  • Apple, Mac OS X 10.4.11
  • Apple, Mac OS X 10.5
  • Apple, Mac OS X 10.5.1
  • Apple, Mac OS X 10.5.2
  • Apple, Mac OS X 10.5.3
  • Apple, Mac OS X 10.5.4
  • Apple, Mac OS X 10.5.5
  • Apple, Mac OS X 10.5.6
  • Apple, Mac OS X Server 10.4.11
  • Apple, Mac OS X Server 10.5
  • Apple, Mac OS X Server 10.5.1
  • Apple, Mac OS X Server 10.5.2
  • Apple, Mac OS X Server 10.5.3
  • Apple, Mac OS X Server 10.5.4
  • Apple, Mac OS X Server 10.5.5
  • Apple, Mac OS X Server 10.5.6
  • Canonical, Ubuntu 6.06 LTS
  • Canonical, Ubuntu 7.10
  • Canonical, Ubuntu 8.04 LTS
  • Canonical, Ubuntu 8.10
  • Debian, Debian Linux 4.0
  • Gentoo, Linux
  • GNU, enscript 1.6.1
  • GNU, enscript 1.6.4 beta
  • MandrakeSoft, Mandrake Linux 2008.0
  • MandrakeSoft, Mandrake Linux 2008.0 X86_64
  • MandrakeSoft, Mandrake Linux 2008.1 X86_64
  • MandrakeSoft, Mandrake Linux 2008.1
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • Mandriva, Linux 2009.0 X86_64
  • Mandriva, Linux 2009.0
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 5
  • RedHat, Enterprise Linux 5 Client
  • RedHat, Linux Advanced Workstation 2.1 Itanium

Remedy:

For Apple Mac OS:
Apply Apple Security Update 2009-002, available from the Apple Web site. See References.

Apply the appropriate update for your system. See References.

Consequences:

Gain Access

References:

Reported:

Oct 22, 2008

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page