====================================================================                   Red Hat Security Advisory

Synopsis:          Moderate: gnupg2 security update
Advisory ID:       RHSA-2013:1459-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2013:1459.html
Issue date:        2013-10-24
CVE Names:         CVE-2012-6085 CVE-2013-4351 CVE-2013-4402 
====================================================================
1. Summary:

An updated gnupg2 package that fixes three security issues is now available
for Red Hat Enterprise Linux 5 and 6.

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
Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - 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.

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 gnupg2 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
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:

i386:
gnupg2-2.0.10-6.el5_10.i386.rpm
gnupg2-debuginfo-2.0.10-6.el5_10.i386.rpm

x86_64:
gnupg2-2.0.10-6.el5_10.x86_64.rpm
gnupg2-debuginfo-2.0.10-6.el5_10.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:

i386:
gnupg2-2.0.10-6.el5_10.i386.rpm
gnupg2-debuginfo-2.0.10-6.el5_10.i386.rpm

ia64:
gnupg2-2.0.10-6.el5_10.ia64.rpm
gnupg2-debuginfo-2.0.10-6.el5_10.ia64.rpm

ppc:
gnupg2-2.0.10-6.el5_10.ppc.rpm
gnupg2-debuginfo-2.0.10-6.el5_10.ppc.rpm

s390x:
gnupg2-2.0.10-6.el5_10.s390x.rpm
gnupg2-debuginfo-2.0.10-6.el5_10.s390x.rpm

x86_64:
gnupg2-2.0.10-6.el5_10.x86_64.rpm
gnupg2-debuginfo-2.0.10-6.el5_10.x86_64.rpm

Red Hat Enterprise Linux Desktop (v. 6):

Source:

i386:
gnupg2-2.0.14-6.el6_4.i686.rpm
gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm

x86_64:
gnupg2-2.0.14-6.el6_4.x86_64.rpm
gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:

i386:
gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm
gnupg2-smime-2.0.14-6.el6_4.i686.rpm

x86_64:
gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm
gnupg2-smime-2.0.14-6.el6_4.x86_64.rpm

Red Hat Enterprise Linux HPC Node (v. 6):

Source:

x86_64:
gnupg2-2.0.14-6.el6_4.x86_64.rpm
gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:

x86_64:
gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm
gnupg2-smime-2.0.14-6.el6_4.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:

i386:
gnupg2-2.0.14-6.el6_4.i686.rpm
gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm

ppc64:
gnupg2-2.0.14-6.el6_4.ppc64.rpm
gnupg2-debuginfo-2.0.14-6.el6_4.ppc64.rpm

s390x:
gnupg2-2.0.14-6.el6_4.s390x.rpm
gnupg2-debuginfo-2.0.14-6.el6_4.s390x.rpm

x86_64:
gnupg2-2.0.14-6.el6_4.x86_64.rpm
gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 6):

Source:

i386:
gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm
gnupg2-smime-2.0.14-6.el6_4.i686.rpm

ppc64:
gnupg2-debuginfo-2.0.14-6.el6_4.ppc64.rpm
gnupg2-smime-2.0.14-6.el6_4.ppc64.rpm

s390x:
gnupg2-debuginfo-2.0.14-6.el6_4.s390x.rpm
gnupg2-smime-2.0.14-6.el6_4.s390x.rpm

x86_64:
gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm
gnupg2-smime-2.0.14-6.el6_4.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:

i386:
gnupg2-2.0.14-6.el6_4.i686.rpm
gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm

x86_64:
gnupg2-2.0.14-6.el6_4.x86_64.rpm
gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 6):

Source:

i386:
gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm
gnupg2-smime-2.0.14-6.el6_4.i686.rpm

x86_64:
gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm
gnupg2-smime-2.0.14-6.el6_4.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-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.

Red Hat: 2013:1459-01: gnupg2: Moderate Advisory

An updated gnupg2 package that fixes three security issues is now available for Red Hat Enterprise Linux 5 and 6

Summary

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.
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 gnupg2 users are advised to upgrade to this updated package, which contains backported patches to correct these issues.



Summary


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

References

https://www.redhat.com/security/data/cve/CVE-2012-6085.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

Package List

Red Hat Enterprise Linux Desktop (v. 5 client):
Source:
i386: gnupg2-2.0.10-6.el5_10.i386.rpm gnupg2-debuginfo-2.0.10-6.el5_10.i386.rpm
x86_64: gnupg2-2.0.10-6.el5_10.x86_64.rpm gnupg2-debuginfo-2.0.10-6.el5_10.x86_64.rpm
Red Hat Enterprise Linux (v. 5 server):
Source:
i386: gnupg2-2.0.10-6.el5_10.i386.rpm gnupg2-debuginfo-2.0.10-6.el5_10.i386.rpm
ia64: gnupg2-2.0.10-6.el5_10.ia64.rpm gnupg2-debuginfo-2.0.10-6.el5_10.ia64.rpm
ppc: gnupg2-2.0.10-6.el5_10.ppc.rpm gnupg2-debuginfo-2.0.10-6.el5_10.ppc.rpm
s390x: gnupg2-2.0.10-6.el5_10.s390x.rpm gnupg2-debuginfo-2.0.10-6.el5_10.s390x.rpm
x86_64: gnupg2-2.0.10-6.el5_10.x86_64.rpm gnupg2-debuginfo-2.0.10-6.el5_10.x86_64.rpm
Red Hat Enterprise Linux Desktop (v. 6):
Source:
i386: gnupg2-2.0.14-6.el6_4.i686.rpm gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm
x86_64: gnupg2-2.0.14-6.el6_4.x86_64.rpm gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm
Red Hat Enterprise Linux Desktop Optional (v. 6):
Source:
i386: gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm gnupg2-smime-2.0.14-6.el6_4.i686.rpm
x86_64: gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm gnupg2-smime-2.0.14-6.el6_4.x86_64.rpm
Red Hat Enterprise Linux HPC Node (v. 6):
Source:
x86_64: gnupg2-2.0.14-6.el6_4.x86_64.rpm gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm
Red Hat Enterprise Linux HPC Node Optional (v. 6):
Source:
x86_64: gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm gnupg2-smime-2.0.14-6.el6_4.x86_64.rpm
Red Hat Enterprise Linux Server (v. 6):
Source:
i386: gnupg2-2.0.14-6.el6_4.i686.rpm gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm
ppc64: gnupg2-2.0.14-6.el6_4.ppc64.rpm gnupg2-debuginfo-2.0.14-6.el6_4.ppc64.rpm
s390x: gnupg2-2.0.14-6.el6_4.s390x.rpm gnupg2-debuginfo-2.0.14-6.el6_4.s390x.rpm
x86_64: gnupg2-2.0.14-6.el6_4.x86_64.rpm gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 6):
Source:
i386: gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm gnupg2-smime-2.0.14-6.el6_4.i686.rpm
ppc64: gnupg2-debuginfo-2.0.14-6.el6_4.ppc64.rpm gnupg2-smime-2.0.14-6.el6_4.ppc64.rpm
s390x: gnupg2-debuginfo-2.0.14-6.el6_4.s390x.rpm gnupg2-smime-2.0.14-6.el6_4.s390x.rpm
x86_64: gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm gnupg2-smime-2.0.14-6.el6_4.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 6):
Source:
i386: gnupg2-2.0.14-6.el6_4.i686.rpm gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm
x86_64: gnupg2-2.0.14-6.el6_4.x86_64.rpm gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 6):
Source:
i386: gnupg2-debuginfo-2.0.14-6.el6_4.i686.rpm gnupg2-smime-2.0.14-6.el6_4.i686.rpm
x86_64: gnupg2-debuginfo-2.0.14-6.el6_4.x86_64.rpm gnupg2-smime-2.0.14-6.el6_4.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


Severity
Advisory ID: RHSA-2013:1459-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2013:1459.html
Issued Date: : 2013-10-24
CVE Names: CVE-2012-6085 CVE-2013-4351 CVE-2013-4402

Topic

An updated gnupg2 package that fixes three security issues is now availablefor Red Hat Enterprise Linux 5 and 6.The Red Hat Security Response Team has rated this update as having moderatesecurity impact. Common Vulnerability Scoring System (CVSS) base scores,which give detailed severity ratings, are available for each vulnerabilityfrom the CVE links in the References section.


Topic


 

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

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64

Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64

Red Hat Enterprise Linux HPC Node (v. 6) - x86_64

Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64

Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64


Bugs Fixed

891142 - CVE-2012-6085 GnuPG: read_block() corrupt key input validation

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


Related News