Bug 1128531 (CVE-2014-5270)

Summary: CVE-2014-5270 libgcrypt: ELGAMAL side-channel attack
Product: [Other] Security Response Reporter: Murray McAllister <mmcallis>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: carnil, erik-fedora, jshort, rdieter, rjones, slawomir, vkrizan, wk
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libgcrypt 1.5.4, libgcrypt 1.6.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-15 15:04:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1128130, 1128532, 1128533    
Bug Blocks: 1128539    

Description Murray McAllister 2014-08-11 04:26:31 UTC
It was reported that libgcrypt was vulnerable to an ELGAMAL side-channel attack:

https://lists.fedoraproject.org/pipermail/security-team/2014-August/000055.html
http://lists.gnupg.org/pipermail/gnupg-announce/2014q3/000352.html

In the above reports, this issue presented when using GnuPG with a version of libgcrypt older than 1.6.0 or older than 1.5.4.

Similar to CVE-2013-4242/bug 988589, this could possibly be used to obtain the majority of a private key from memory.

References:

http://www.cs.unc.edu/~reiter/papers/2012/CCS.pdf

Comment 1 Murray McAllister 2014-08-11 04:30:30 UTC
Created mingw32-libgcrypt tracking bugs for this issue:

Affects: epel-5 [bug 1128532]

Comment 2 Murray McAllister 2014-08-11 04:32:23 UTC
Created mingw-libgcrypt tracking bugs for this issue:

Affects: fedora-all [bug 1128533]

Comment 4 Murray McAllister 2014-08-11 04:50:51 UTC
CVE request:

http://www.openwall.com/lists/oss-security/2014/08/11/1

Comment 5 Werner Koch 2014-08-14 07:28:33 UTC
Has a CVE meanwhile be assigned?  Can't you get one from the Redhat pool?

Comment 6 Murray McAllister 2014-08-18 02:29:11 UTC
MITRE assigned CVE-2014-5270 to the "touching exposed metal on the computer's
chassis". Further details:

http://seclists.org/oss-sec/2014/q3/383

Comment 8 Vincent Danen 2014-10-15 20:33:13 UTC
Statement:

This issue affects the versions of libgcrypt as shipped with Red Hat Enterprise Linux 6 and 7. A future update may address this issue.

This issue affects the version of gnupg and libgcrypt as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Comment 10 Huzaifa S. Sidhpurwala 2015-01-07 06:47:36 UTC
This issue was fixed in libgcrypt-1.5.x via the following commits:

http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=62e8e1283268f1d3b6d0cfb2fc4e7835bbcdaab6
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff;h=5958574a8285e9d759d7d95418cacd3d352f77a2

libgcrypt-1.5.4 was released to address this issue.

This issue was fixed in gnupg-1.x via the following commits:

http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=cad8216f9a0b33c9dc84ecc4f385b00045e7b496

gnupg-1.4.16 was released to address this issue.

Comment 13 Product Security DevOps Team 2021-06-15 15:04:17 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2014-5270