Bug 1582572 (CVE-2018-10845)

Summary: CVE-2018-10845 gnutls: HMAC-SHA-384 vulnerable to Lucky thirteen attack due to use of wrong constant
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ansasaki, erik-fedora, jv+fedora, mike, nmavrogi, pspacek, rh-spice-bugs, rjones, security-response-team, slawomir, tmraz
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
It was found that GnuTLS's implementation of HMAC-SHA-384 was vulnerable to a Lucky Thirteen-style attack. A remote attacker could use this flaw to conduct distinguishing attacks and plain text recovery attacks via statistical analysis of timing data using crafted packets.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:26:38 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: 1589706, 1589707, 1619516, 1619517, 1619518, 1619519, 1619520, 1622401    
Bug Blocks: 1582575    

Description Adam Mariš 2018-05-25 15:33:21 UTC
It was found that GnuTLS implementation of HMAC-SHA-384 was vulnerable to Lucky thirteen style attack due to use of wrong constant appropriate to hash functions that encode the length field.

Comment 5 Huzaifa S. Sidhpurwala 2018-08-21 05:48:59 UTC
External References:

https://eprint.iacr.org/2018/747

Comment 6 Huzaifa S. Sidhpurwala 2018-08-21 05:50:17 UTC
Created gnutls tracking bugs for this issue:

Affects: fedora-all [bug 1619517]


Created gnutls30 tracking bugs for this issue:

Affects: epel-all [bug 1619519]


Created mingw-gnutls tracking bugs for this issue:

Affects: epel-all [bug 1619520]
Affects: fedora-all [bug 1619518]

Comment 8 Huzaifa S. Sidhpurwala 2018-08-21 06:01:47 UTC
Upstream patch:

https://gitlab.com/gnutls/gnutls/merge_requests/657

Comment 10 errata-xmlrpc 2018-10-30 07:24:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3050 https://access.redhat.com/errata/RHSA-2018:3050