GnuPG parse-packet.c buffer overflow
| gnupg-parsepacket-bo (27245) |
Description:
GNU Privacy Guard (GnuPG or GPG) is vulnerable to a buffer overflow, caused by improper bounds checking by the parse_user_id() function in the parse-packet.c file. By sending an overly long user ID, a local or remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.
Platforms Affected:
- Canonical, Ubuntu 5.04
- Canonical, Ubuntu 5.10
- Canonical, Ubuntu 6.06 LTS
- Debian, Debian Linux 3.0
- Debian, Debian Linux 3.1
- GNU, Privacy Guard 1.0
- GNU, Privacy Guard 1.0.1
- GNU, Privacy Guard 1.0.2
- GNU, Privacy Guard 1.0.3
- GNU, Privacy Guard 1.0.4
- GNU, Privacy Guard 1.0.5
- GNU, Privacy Guard 1.0.6
- GNU, Privacy Guard 1.0.7
- GNU, Privacy Guard 1.2
- GNU, Privacy Guard 1.2.1
- GNU, Privacy Guard 1.2.2
- GNU, Privacy Guard 1.2.3
- GNU, Privacy Guard 1.2.4
- GNU, Privacy Guard 1.2.5
- GNU, Privacy Guard 1.2.6
- GNU, Privacy Guard 1.2.7
- GNU, Privacy Guard 1.3.3
- GNU, Privacy Guard 1.3.4
- GNU, Privacy Guard 1.4
- GNU, Privacy Guard 1.4.1
- GNU, Privacy Guard 1.4.2
- GNU, Privacy Guard 1.4.2.1
- GNU, Privacy Guard 1.4.2.2
- GNU, Privacy Guard 1.4.3
- GNU, Privacy Guard 1.9.10
- GNU, Privacy Guard 1.9.15
- GNU, Privacy Guard 1.9.20
- MandrakeSoft, Mandrake Linux 2006
- MandrakeSoft, Mandrake Linux 2006 X86_64
- MandrakeSoft, Mandrake Linux LE2005
- MandrakeSoft, Mandrake Linux LE2005 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Multi Network Firewall 2.0
- OpenPKG, OpenPKG 2-STABLE
- OpenPKG, OpenPKG 2.5
- OpenPKG, OpenPKG CURRENT
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Linux Advanced Workstation 2.1 Itanium
Remedy:
Apply the patch for this vulnerability, available from the GnuPG CVS Repository. See References.
For Debian GNU/Linux:
Refer to DSA-1107-1 for patch, upgrade, or suggested workaround information. See References.
For Debian GNU/Linux (GnuPG2):
Refer to DSA-1115-1 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux:
Refer to RHSA-2006:0571-4 for patch, upgrade, or suggested workaround information. See References.
For OpenPKG:
Refer to OpenPKG Security Advisory OpenPKG-SA-2006.010 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- GnuPG CVS Repository, GnuPG: trunk/g10/parse-packet.c at http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/trunk/g10/parse-packet.c?rev=4157&view=markup.
- GnuPG.org, Download at http://www.gnupg.org/download/.
- ASA-2006-167: gnupg security update (RHSA-2006-0571)
- BID-18554: GnuPG Parse_User_ID Remote Buffer Overflow Vulnerability
- CVE-2006-3082: parse-packet.c in GnuPG (gpg) 1.4.3 and 1.9.20, and earlier versions, allows remote attackers to cause a denial of service (gpg crash) and possibly overwrite memory via a message packet with a large length (long user ID string), which could lead to an integer overflow, as demonstrated using the --no-armor option.
- DSA-1107: gnupg -- integer overflow
- DSA-1115: gnupg2 -- integer overflow
- MDKSA-2006:110: Updated gnupg packages fix vulnerability
- OpenPKG-SA-2006.010: GNUPG
- RHSA-2006-0571: gnupg security update
- SA20783: GnuPG "parse-packet.c" Denial of Service Vulnerability
- SA21585: Avaya Products GnuPG Denial of Service Vulnerability
- SECTRACK ID: 1016519: GnuPG Integer Overflow in Processing User ID Values May Let Remote Users Execute Arbitrary Code
- SUSE-SR:2006:015: SUSE Security Summary Report
- SUSE-SR:2006:018: SUSE Security Summary Report
- USN-304-1: GnuPG vulnerability
- VUPEN/ADV-2006-2450: GnuPG parse_user_id() Packet Length Handling Integer Overflow Vulnerability
Reported:
Jun 09, 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
