Users login

Create an account »


Users login

Home » Hacking News » OpenPKG SA-2003.029: Gnupg incorrect key validation

OpenPKG SA-2003.029: Gnupg incorrect key validation

by Nikola Strahija on May 16th, 2003 A key validation bug was recently discovered which could cause keys with more than one user ID to trust all user ID's with the amount of trust given to the most-valid user ID.

Hash: SHA1


OpenPKG Security Advisory The OpenPKG Project
[email protected] [email protected]
OpenPKG-SA-2003.029 16-May-2003

Package: gnupg
Vulnerability: incorrect key validation
OpenPKG Specific: no

Affected Releases: Affected Packages: Corrected Packages:
OpenPKG CURRENT <= gnupg-1.2.1-20030408 >= gnupg-1.2.2-20030501
OpenPKG 1.2 <= gnupg-1.2.1-1.2.0 >= gnupg-1.2.1-1.2.1
OpenPKG 1.1 <= gnupg-1.0.7-1.1.0 >= gnupg-1.0.7-1.1.1

Dependent Packages: none

The GNU Privacy Guard (GnuPG) [0] development team discovered [1]
that the key validation code in GnuPG 1.2.1 and older versions does
not properly determine the validity of keys with multiple user IDs
and assigns the greatest validity of the most valid user ID, which
prevents GnuPG from warning the encrypting user when a user ID does
not have a trusted path. The Common Vulnerabilities and Exposures
(CVE) project assigned the id CAN-2003-0255 [2] to the problem.

Please check whether you are affected by running "/bin/rpm -q
gnupg". If you have the "gnupg" package installed and its version is
affected (see above), we recommend that you immediately upgrade it
(see Solution). [3][4]

Select the updated source RPM appropriate for your OpenPKG release
[5][6], fetch it from the OpenPKG FTP service [7][8] or a mirror
location, verify its integrity [9], build a corresponding binary RPM
from it [3] and update your OpenPKG installation by applying the
binary RPM [4]. For the current release OpenPKG 1.2, perform the
following operations to permanently fix the security problem (for
other releases adjust accordingly).

$ ftp
ftp> bin
ftp> cd release/1.2/UPD
ftp> get gnupg-1.2.1-1.2.1.src.rpm
ftp> bye
$ /bin/rpm -v --checksig gnupg-1.2.1-1.2.1.src.rpm
$ /bin/rpm --rebuild gnupg-1.2.1-1.2.1.src.rpm
$ su -
# /bin/rpm -Fvh /RPM/PKG/gnupg-1.2.1-1.2.1.*.rpm


For security reasons, this advisory was digitally signed with the
OpenPGP public key "OpenPKG " (ID 63C4CB9F) of the
OpenPKG project which you can retrieve from and
hkp:// Follow the instructions on
for details on how to verify the integrity of this advisory.

Comment: OpenPKG


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »