RedHat: Important: gnupg security update RHSA-2006:0266-01
Summary
Summary
GnuPG is a utility for encrypting data and creating digital signatures. Tavis Ormandy discovered a bug in the way GnuPG verifies cryptographically signed data with detached signatures. It is possible for an attacker to construct a cryptographically signed message which could appear to come from a third party. When a victim processes a GnuPG message with a malformed detached signature, GnuPG ignores the malformed signature, processes and outputs the signed data, and exits with status 0, just as it would if the signature had been valid. In this case, GnuPG's exit status would not indicate that no signature verification had taken place. This issue would primarily be of concern when processing GnuPG results via an automated script. The Common Vulnerabilities and Exposures project assigned the name CVE-2006-0455 to this issue. Tavis Ormandy also discovered a bug in the way GnuPG verifies cryptographically signed data with inline signatures. It is possible for an attacker to inject unsigned data into a signed message in such a way that when a victim processes the message to recover the data, the unsigned data is output along with the signed data, gaining the appearance of having been signed. This issue is mitigated in the GnuPG shipped with Red Hat Enterprise Linux as the --ignore-crc-error option must be passed to the gpg executable for this attack to be successful. The Common Vulnerabilities and Exposures project assigned the name CVE-2006-0049 to this issue. Please note that neither of these issues affect the way RPM or up2date verify RPM package files, nor is RPM vulnerable to either of these issues. All users of GnuPG are advised to upgrade to this updated package, which contains backported patches to correct these issues.
Solution
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
This update is available via Red Hat Network. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:
up2date
This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.
5. Bug IDs fixed (http://bugzilla.redhat.com/):
167392 - initial gpg run doesn't create .gnupg/secring.gpg
179506 - RHEL3, gnupg-1.2.1-10, gpg: Creates corrupt files (probably 2GB problem)
183484 - CVE-2006-0455 gpg will quietly exit when attempting to verify a malformed message
184556 - CVE-2006-0049 Gnupg incorrect malformed message verification
6. RPMs required:
Red Hat Enterprise Linux AS (Advanced Server) version 2.1:
SRPMS:
d15956e38c9d217ac93f5ed0cd5ce4f3 gnupg-1.0.7-16.src.rpm
i386:
cfcc3babbfc6f972dabbbac06e685f7d gnupg-1.0.7-16.i386.rpm
ia64:
8c1dddef36a9e45e9ae1444b82e28bea gnupg-1.0.7-16.ia64.rpm
Red Hat Linux Advanced Workstation 2.1:
SRPMS:
d15956e38c9d217ac93f5ed0cd5ce4f3 gnupg-1.0.7-16.src.rpm
ia64:
8c1dddef36a9e45e9ae1444b82e28bea gnupg-1.0.7-16.ia64.rpm
Red Hat Enterprise Linux ES version 2.1:
SRPMS:
d15956e38c9d217ac93f5ed0cd5ce4f3 gnupg-1.0.7-16.src.rpm
i386:
cfcc3babbfc6f972dabbbac06e685f7d gnupg-1.0.7-16.i386.rpm
Red Hat Enterprise Linux WS version 2.1:
SRPMS:
d15956e38c9d217ac93f5ed0cd5ce4f3 gnupg-1.0.7-16.src.rpm
i386:
cfcc3babbfc6f972dabbbac06e685f7d gnupg-1.0.7-16.i386.rpm
Red Hat Enterprise Linux AS version 3:
SRPMS:
e37b4079cb0dc795de0019b14a363f2a gnupg-1.2.1-15.src.rpm
i386:
8ef6ad0316bec8ede544c25cf7e30717 gnupg-1.2.1-15.i386.rpm
ia64:
594517a016b7bc7bee68cbca40bd9ead gnupg-1.2.1-15.ia64.rpm
ppc:
ac5d223e4a840999eecb87bc2626f7f1 gnupg-1.2.1-15.ppc.rpm
s390:
5bfa85eae3fda393ca1a80ef12107221 gnupg-1.2.1-15.s390.rpm
s390x:
a83363632fb9f9e77db7593f878c0136 gnupg-1.2.1-15.s390x.rpm
x86_64:
0ec4f9ce23dc41ca9a0e17c40ba3fbd4 gnupg-1.2.1-15.x86_64.rpm
Red Hat Desktop version 3:
SRPMS:
e37b4079cb0dc795de0019b14a363f2a gnupg-1.2.1-15.src.rpm
i386:
8ef6ad0316bec8ede544c25cf7e30717 gnupg-1.2.1-15.i386.rpm
x86_64:
0ec4f9ce23dc41ca9a0e17c40ba3fbd4 gnupg-1.2.1-15.x86_64.rpm
Red Hat Enterprise Linux ES version 3:
SRPMS:
e37b4079cb0dc795de0019b14a363f2a gnupg-1.2.1-15.src.rpm
i386:
8ef6ad0316bec8ede544c25cf7e30717 gnupg-1.2.1-15.i386.rpm
ia64:
594517a016b7bc7bee68cbca40bd9ead gnupg-1.2.1-15.ia64.rpm
x86_64:
0ec4f9ce23dc41ca9a0e17c40ba3fbd4 gnupg-1.2.1-15.x86_64.rpm
Red Hat Enterprise Linux WS version 3:
SRPMS:
e37b4079cb0dc795de0019b14a363f2a gnupg-1.2.1-15.src.rpm
i386:
8ef6ad0316bec8ede544c25cf7e30717 gnupg-1.2.1-15.i386.rpm
ia64:
594517a016b7bc7bee68cbca40bd9ead gnupg-1.2.1-15.ia64.rpm
x86_64:
0ec4f9ce23dc41ca9a0e17c40ba3fbd4 gnupg-1.2.1-15.x86_64.rpm
Red Hat Enterprise Linux AS version 4:
SRPMS:
174cd0720920c12354f2240722df75f9 gnupg-1.2.6-3.src.rpm
i386:
355d8f416080f4630fde887d970aa5aa gnupg-1.2.6-3.i386.rpm
ia64:
d414315f567d1e29f59e0b39b94e067e gnupg-1.2.6-3.ia64.rpm
ppc:
8b2400f89d1a5238988fd5d55cbc6ac6 gnupg-1.2.6-3.ppc.rpm
s390:
e6cc5d8bb6055da2bd328261485b1097 gnupg-1.2.6-3.s390.rpm
s390x:
ec581afb36353fb531634cb835f4f3e1 gnupg-1.2.6-3.s390x.rpm
x86_64:
a9b6b5a4051daa5cf86aa7a3279e54a4 gnupg-1.2.6-3.x86_64.rpm
Red Hat Enterprise Linux Desktop version 4:
SRPMS:
174cd0720920c12354f2240722df75f9 gnupg-1.2.6-3.src.rpm
i386:
355d8f416080f4630fde887d970aa5aa gnupg-1.2.6-3.i386.rpm
x86_64:
a9b6b5a4051daa5cf86aa7a3279e54a4 gnupg-1.2.6-3.x86_64.rpm
Red Hat Enterprise Linux ES version 4:
SRPMS:
174cd0720920c12354f2240722df75f9 gnupg-1.2.6-3.src.rpm
i386:
355d8f416080f4630fde887d970aa5aa gnupg-1.2.6-3.i386.rpm
ia64:
d414315f567d1e29f59e0b39b94e067e gnupg-1.2.6-3.ia64.rpm
x86_64:
a9b6b5a4051daa5cf86aa7a3279e54a4 gnupg-1.2.6-3.x86_64.rpm
Red Hat Enterprise Linux WS version 4:
SRPMS:
174cd0720920c12354f2240722df75f9 gnupg-1.2.6-3.src.rpm
i386:
355d8f416080f4630fde887d970aa5aa gnupg-1.2.6-3.i386.rpm
ia64:
d414315f567d1e29f59e0b39b94e067e gnupg-1.2.6-3.ia64.rpm
x86_64:
a9b6b5a4051daa5cf86aa7a3279e54a4 gnupg-1.2.6-3.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package
References
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0049 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0455
Package List
Topic
Topic
Relevant Releases Architectures
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64
Bugs Fixed