Red Hat: 2013:1458-01: gnupg: Moderate Advisory
Posted by Benjamin D. Thomas   
RedHat Linux An updated gnupg package that fixes multiple security issues is now available for Red Hat Enterprise Linux 5. The Red Hat Security Response Team has rated this update as having moderate [More...]
=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: gnupg security update
Advisory ID:       RHSA-2013:1458-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2013-1458.html
Issue date:        2013-10-24
CVE Names:         CVE-2012-6085 CVE-2013-4242 CVE-2013-4351 
                   CVE-2013-4402 
=====================================================================

1. Summary:

An updated gnupg package that fixes multiple security issues is now
available for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64

3. Description:

The GNU Privacy Guard (GnuPG or GPG) is a tool for encrypting data and
creating digital signatures, compliant with the proposed OpenPGP Internet
standard and the S/MIME standard.

It was found that GnuPG was vulnerable to the Yarom/Falkner flush+reload
cache side-channel attack on the RSA secret exponent. An attacker able to
execute a process on the logical CPU that shared the L3 cache with the
GnuPG process (such as a different local user or a user of a KVM guest
running on the same host with the kernel same-page merging functionality
enabled) could possibly use this flaw to obtain portions of the RSA secret
key. (CVE-2013-4242)

A denial of service flaw was found in the way GnuPG parsed certain
compressed OpenPGP packets. An attacker could use this flaw to send
specially crafted input data to GnuPG, making GnuPG enter an infinite loop
when parsing data. (CVE-2013-4402)

It was found that importing a corrupted public key into a GnuPG keyring
database corrupted that keyring. An attacker could use this flaw to trick a
local user into importing a specially crafted public key into their keyring
database, causing the keyring to be corrupted and preventing its further
use. (CVE-2012-6085)

It was found that GnuPG did not properly interpret the key flags in a PGP
key packet. GPG could accept a key for uses not indicated by its holder.
(CVE-2013-4351)

Red Hat would like to thank Werner Koch for reporting the CVE-2013-4402
issue. Upstream acknowledges Taylor R Campbell as the original reporter.

All gnupg users are advised to upgrade to this updated package, which
contains backported patches to correct these issues.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the
Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

5. Bugs fixed (http://bugzilla.redhat.com/):

891142 - CVE-2012-6085 GnuPG: read_block() corrupt key input validation
988589 - CVE-2013-4242 GnuPG susceptible to Yarom/Falkner flush+reload cache side-channel attack
1010137 - CVE-2013-4351 gnupg: treats no-usage-permitted keys as all-usages-permitted
1015685 - CVE-2013-4402 GnuPG: infinite recursion in the compressed packet parser DoS

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/gnupg-1.4.5-18.el5_10.src.rpm

i386:
gnupg-1.4.5-18.el5_10.i386.rpm
gnupg-debuginfo-1.4.5-18.el5_10.i386.rpm

x86_64:
gnupg-1.4.5-18.el5_10.x86_64.rpm
gnupg-debuginfo-1.4.5-18.el5_10.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/gnupg-1.4.5-18.el5_10.src.rpm

i386:
gnupg-1.4.5-18.el5_10.i386.rpm
gnupg-debuginfo-1.4.5-18.el5_10.i386.rpm

ia64:
gnupg-1.4.5-18.el5_10.ia64.rpm
gnupg-debuginfo-1.4.5-18.el5_10.ia64.rpm

ppc:
gnupg-1.4.5-18.el5_10.ppc.rpm
gnupg-debuginfo-1.4.5-18.el5_10.ppc.rpm

s390x:
gnupg-1.4.5-18.el5_10.s390x.rpm
gnupg-debuginfo-1.4.5-18.el5_10.s390x.rpm

x86_64:
gnupg-1.4.5-18.el5_10.x86_64.rpm
gnupg-debuginfo-1.4.5-18.el5_10.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://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2012-6085.html
https://www.redhat.com/security/data/cve/CVE-2013-4242.html
https://www.redhat.com/security/data/cve/CVE-2013-4351.html
https://www.redhat.com/security/data/cve/CVE-2013-4402.html
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is .  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2013 Red Hat, Inc.