GnuPG ask_outfile_name() function buffer overflow

gnupg-askoutfilename-bo (30550) The risk level is classified as HighHigh Risk

Description:

GnuPG is vulnerable to a buffer overflow, caused by improper bounds checking by the ask_outfile_name() function in the openfile.c file. By sending a specially-crafted message with an invalid 'n' size, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.

Note: Applications must be running in interactive mode for this vulnerability to exist.

Platforms Affected:

  • Canonical, Ubuntu 6.10
  • Debian, Debian Linux 3.1
  • Gentoo, Linux
  • GNU, Privacy Guard 1.4.5
  • GNU, Privacy Guard 2.0.0
  • MandrakeSoft, Mandrake Linux 2006 X86_64
  • MandrakeSoft, Mandrake Linux 2006
  • MandrakeSoft, Mandrake Linux 2007
  • MandrakeSoft, Mandrake Linux 2007 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft, Mandrake Multi Network Firewall 2.0
  • OpenPKG, OpenPKG 2-STABLE
  • OpenPKG, OpenPKG CURRENT
  • OpenPKG, OpenPKG Enterprise E1.0-SOLID
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux ES
  • RedHat, Enterprise Linux AS
  • RedHat, Enterprise Linux WS
  • RedHat, Linux Advanced Workstation 2.1 Itanium

Remedy:

Apply the patch for this vulnerability, as listed in the BugTraq Mailing List posting dated Mon Nov 27 2006 - 11:13:02 CST. See References.

For Debian GNU/Linux:
Refer to DSA-1231-1 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux:
Refer to RHSA-2006:0754-2 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200612-03 for patch, upgrade, or suggested workaround information. See References.

For OpenPKG Linux:
Refer to OpenPKG Linux Security Advisory SA-2006.037 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux:
Refer to Gentoo Linux Security Announcement USN-393-2 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Gain Access

References:

Reported:

Nov 27, 2006

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