Bug 1413923 (CVE-2016-5549)

Summary: CVE-2016-5549 OpenJDK: ECDSA implementation timing attack (Libraries, 8168724)
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ahughes, emaldona, kengert, rrelyea, sardella, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-28 09:25:22 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:    
Bug Blocks: 1410614    

Description Tomas Hoger 2017-01-17 10:28:42 UTC
A covert timing channel flaw was found in the ECDSA implementation in the Libraries component of OpenJDK.  A remote attacker able to make a Java application generate ECDSA signatures on demand could possibly use this flaw to extract certain information about the key use via a timing side channel.

Comment 1 Tomas Hoger 2017-01-17 10:38:34 UTC
This fix patches code in the ec/impl/ec.c source file.  The OpenJDK packages in Red Hat Enterprise Linux do not use this EC cryptography implementation that is included in OpenJDK sources, but rather use code from the Mozilla NSS library, which includes EC implementation based on the same code originally from Sun Microsystems.

Apparently, this flaw was corrected in NSS back in 2011, and fixes were first included in NSS version 3.13:

https://bugzilla.mozilla.org/show_bug.cgi?id=660394
https://hg.mozilla.org/projects/nss/rev/079cfc4710c7
http://eprint.iacr.org/2011/232

Therefore, this fix is already included in the current versions of nss or nss-softokn packages included in Red Hat Enterprise Linux 5, 6, and 7.

Comment 3 Tomas Hoger 2017-01-17 22:00:07 UTC
Public now via Oracle CPU January 2017:

http://www.oracle.com/technetwork/security-advisory/cpujan2017-2881727.html#AppendixJAVA

The issue was fixed in Oracle JDK 8u121 and 7u131.

Comment 4 Tomas Hoger 2017-01-18 20:48:48 UTC
OpenJDK 8 upstream commit:

http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/41594ac7ca27

Comment 5 errata-xmlrpc 2017-01-19 14:01:20 UTC
This issue has been addressed in the following products:

  Oracle Java for Red Hat Enterprise Linux 7
  Oracle Java for Red Hat Enterprise Linux 6
  Oracle Java for Red Hat Enterprise Linux 5

Via RHSA-2017:0176 https://rhn.redhat.com/errata/RHSA-2017-0176.html

Comment 6 errata-xmlrpc 2017-01-19 14:03:20 UTC
This issue has been addressed in the following products:

  Oracle Java for Red Hat Enterprise Linux 6
  Oracle Java for Red Hat Enterprise Linux 7

Via RHSA-2017:0175 https://rhn.redhat.com/errata/RHSA-2017-0175.html

Comment 7 errata-xmlrpc 2017-02-09 12:07:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Supplementary
  Red Hat Enterprise Linux 7 Supplementary

Via RHSA-2017:0263 https://rhn.redhat.com/errata/RHSA-2017-0263.html

Comment 8 errata-xmlrpc 2017-02-28 08:21:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 5 Supplementary

Via RHSA-2017:0337 https://rhn.redhat.com/errata/RHSA-2017-0337.html

Comment 9 errata-xmlrpc 2017-02-28 08:23:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Supplementary
  Red Hat Enterprise Linux 7 Supplementary

Via RHSA-2017:0336 https://rhn.redhat.com/errata/RHSA-2017-0336.html

Comment 10 errata-xmlrpc 2017-02-28 08:31:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Supplementary
  Red Hat Enterprise Linux 5 Supplementary

Via RHSA-2017:0338 https://rhn.redhat.com/errata/RHSA-2017-0338.html

Comment 11 errata-xmlrpc 2017-05-09 16:43:37 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 5.6
  Red Hat Satellite 5.7

Via RHSA-2017:1216 https://access.redhat.com/errata/RHSA-2017:1216