Joined: 12 May 2004
|Posted: Sun Dec 10, 2006 2:26 pm Post subject: [ GLSA 200612-03 ] GnuPG: Multiple vulnerabilities
|Gentoo Linux Security Advisory
Title: GnuPG: Multiple vulnerabilities (GLSA 200612-03)
Date: December 10, 2006
Bug(s): #156476, #156947
GnuPG is vulnerable to a buffer overflow and an erroneous function pointer dereference that can result in the execution of arbitrary code.
The GNU Privacy Guard, GnuPG, is a free replacement for the PGP suite of cryptographic software.
Vulnerable: < 1.4.6
Unaffected: >= 1.4.6
Architectures: All supported architectures
Hugh Warrington has reported a boundary error in GnuPG, in the "ask_outfile_name()" function from openfile.c: the make_printable_string() function could return a string longer than expected. Additionally, Tavis Ormandy of the Gentoo Security Team reported a design error in which a function pointer can be incorrectly dereferenced.
A remote attacker could entice a user to interactively use GnuPG on a crafted file and trigger the boundary error, which will result in a buffer overflow. They could also entice a user to process a signed or encrypted file with gpg or gpgv, possibly called through another application like a mail client, to trigger the dereference error. Both of these vulnerabilities would result in the execution of arbitrary code with the permissions of the user running GnuPG. gpg-agent, gpgsm and other tools are not affected.
There is no known workaround at this time.
All GnuPG users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose "=app-crypt/gnupg-1.4*"
Last edited by GLSA on Mon Dec 11, 2006 4:18 am; edited 1 time in total