Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1534762 - (CVE-2018-2618) CVE-2018-2618 OpenJDK: insufficient strength of key agreement (JCE, 8185292)
CVE-2018-2618 OpenJDK: insufficient strength of key agreement (JCE, 8185292)
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180116,repor...
: Security
Depends On: 1528238 1528239 1528240 1528241 1528243 1528244 1528245 1528246 1535085 1535086 1535087 1535088 1535089 1535090 1535091 1535092 1535104 1535105 1535106 1535107 1546135 1546136 1546137 1546138 1546140 1546141 1546142 1546143 1549401 1549402
Blocks: 1528235
  Show dependency treegraph
 
Reported: 2018-01-15 16:59 EST by Tomas Hoger
Modified: 2018-06-07 12:05 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
It was discovered that the key agreement implementations in the JCE component of OpenJDK did not guarantee sufficient strength of used keys to adequately protect generated shared secret. This could make it easier to break data encryption by attacking key agreement rather than the encryption using the negotiated secret.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-14 11:38:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0095 normal SHIPPED_LIVE Important: java-1.8.0-openjdk security update 2018-01-17 17:33:04 EST
Red Hat Product Errata RHSA-2018:0099 normal SHIPPED_LIVE Critical: java-1.8.0-oracle security update 2018-01-18 21:55:29 EST
Red Hat Product Errata RHSA-2018:0100 normal SHIPPED_LIVE Important: java-1.7.0-oracle security update 2018-01-18 21:55:56 EST
Red Hat Product Errata RHSA-2018:0115 normal SHIPPED_LIVE Important: java-1.6.0-sun security update 2018-01-22 20:40:50 EST
Red Hat Product Errata RHSA-2018:0349 normal SHIPPED_LIVE Important: java-1.7.0-openjdk security update 2018-02-26 22:27:34 EST
Red Hat Product Errata RHSA-2018:0351 normal SHIPPED_LIVE Critical: java-1.8.0-ibm security update 2018-02-26 21:32:17 EST
Red Hat Product Errata RHSA-2018:0352 normal SHIPPED_LIVE Critical: java-1.8.0-ibm security update 2018-02-26 21:37:30 EST
Red Hat Product Errata RHSA-2018:0458 normal SHIPPED_LIVE Important: java-1.7.1-ibm security update 2018-03-07 10:33:13 EST
Red Hat Product Errata RHSA-2018:0521 normal SHIPPED_LIVE Important: java-1.7.1-ibm security update 2018-03-14 15:23:31 EDT
Red Hat Product Errata RHSA-2018:1463 None None None 2018-05-15 11:31 EDT
Red Hat Product Errata RHSA-2018:1812 None None None 2018-06-07 12:05 EDT

  None (edit)
Description Tomas Hoger 2018-01-15 16:59:42 EST
It was discovered that the DHKeyAgreement and P11KeyAgreement implementations in the JCE component of OpenJDK did not guarantee sufficient strength of used keys to adequately protect generated shared secret.  This could make it easier to break encryption by attacking key agreement rather than the encryption using the negotiated key.

The patch for this issue causes classes' method generateSecret(String algorithm) to fail unless it's call for "TlsPremasterSecret", or the "jdk.crypto.KeyAgreement.legacyKDF" system property is set to true.
Comment 1 Tomas Hoger 2018-01-16 14:53:08 EST
The following note related to this change can be found in the release notes for Oracle Java SE 8u161, 7u171, and 6u181:

  security-libs/javax.crypto
  Stricter key generation 

  The generateSecret(String) method has been mostly disabled in the
  javax.crypto.KeyAgreement services of the SUN and SunPKCS11 providers.
  Invoking this method for these providers will result in a
  NoSuchAlgorithmException for most algorithm string arguments. The previous
  behavior of this method can be re-enabled by setting the value of the
  jdk.crypto.KeyAgreement.legacyKDF system property to true (case
  insensitive). Re-enabling this method by setting this system property is
  not recommended.

  JDK-8185292 (not public)

http://www.oracle.com/technetwork/java/javase/8u161-relnotes-4021379.html
http://www.oracle.com/technetwork/java/javaseproducts/documentation/javase7supportreleasenotes-1601161.html#R170_171
http://www.oracle.com/technetwork/java/javase/documentation/overview-156328.html#R160_181
Comment 2 Tomas Hoger 2018-01-16 16:33:48 EST
Public now via Oracle CPU January 2018:

http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html#AppendixJAVA

The issue was fixed in Oracle JDK 9.0.4, 8u161, 7u171, and 6u181.
Comment 3 errata-xmlrpc 2018-01-17 12:35:05 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 7

Via RHSA-2018:0095 https://access.redhat.com/errata/RHSA-2018:0095
Comment 4 errata-xmlrpc 2018-01-18 16:57:49 EST
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

Via RHSA-2018:0099 https://access.redhat.com/errata/RHSA-2018:0099
Comment 5 errata-xmlrpc 2018-01-18 17:00:36 EST
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

Via RHSA-2018:0100 https://access.redhat.com/errata/RHSA-2018:0100
Comment 6 errata-xmlrpc 2018-01-22 15:42:20 EST
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

Via RHSA-2018:0115 https://access.redhat.com/errata/RHSA-2018:0115
Comment 7 Tomas Hoger 2018-01-23 08:02:35 EST
OpenJDK-8 upstream commit:

http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/9b819798e7b0
Comment 8 errata-xmlrpc 2018-02-26 16:32:53 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Supplementary

Via RHSA-2018:0351 https://access.redhat.com/errata/RHSA-2018:0351
Comment 9 errata-xmlrpc 2018-02-26 16:38:02 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Supplementary

Via RHSA-2018:0352 https://access.redhat.com/errata/RHSA-2018:0352
Comment 10 errata-xmlrpc 2018-02-26 17:21:30 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 7

Via RHSA-2018:0349 https://access.redhat.com/errata/RHSA-2018:0349
Comment 13 errata-xmlrpc 2018-03-07 05:33:51 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Supplementary

Via RHSA-2018:0458 https://access.redhat.com/errata/RHSA-2018:0458
Comment 14 errata-xmlrpc 2018-03-14 11:24:14 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Supplementary

Via RHSA-2018:0521 https://access.redhat.com/errata/RHSA-2018:0521
Comment 15 errata-xmlrpc 2018-05-15 11:31:48 EDT
This issue has been addressed in the following products:

  Red Hat Satellite 5.8

Via RHSA-2018:1463 https://access.redhat.com/errata/RHSA-2018:1463
Comment 16 errata-xmlrpc 2018-06-07 12:05:08 EDT
This issue has been addressed in the following products:

  Red Hat Satellite 5.6
  Red Hat Satellite 5.7

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

Note You need to log in before you can comment on or make changes to this bug.