Bug 2108547 (CVE-2022-21549)

Summary: CVE-2022-21549 OpenJDK: random exponentials issue (Libraries, 8283875)
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ahughes, caswilli, chazlett, dbhole, dffrench, dfitzmau, fjansen, gzaronik, jdowland, jhuttana, jkoehler, jochrist, jvanek, kaycoth, nengard, neugens, ngough, pjindal, rgodfrey, security-response-team, sraghupu, sthirugn, vkrizan
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: 2022-08-30 17:33:04 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: 2106518, 2106519, 2106520, 2106521, 2106522, 2106523, 2106524, 2121472    
Bug Blocks: 2106494    

Description Mauro Matteo Cascella 2022-07-19 09:55:32 UTC
It was discovered that the computeNextExponential() method in the Libraries component of OpenJDK failed to comply with the documentation, returning sometimes negative numbers.

Comment 1 Mauro Matteo Cascella 2022-07-19 23:43:19 UTC
Public now via Oracle CPU July 2022:

https://www.oracle.com/security-alerts/cpujul2022.html#AppendixJAVA

Fixed in Oracle Java SE 17.0.4.

Release notes:
https://www.oracle.com/java/technologies/javase/17-0-4-relnotes.html

Comment 4 errata-xmlrpc 2022-07-26 18:21:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:5726 https://access.redhat.com/errata/RHSA-2022:5726

Comment 5 errata-xmlrpc 2022-07-27 13:19:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:5736 https://access.redhat.com/errata/RHSA-2022:5736

Comment 6 errata-xmlrpc 2022-07-28 15:46:30 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK 17.0.4

Via RHSA-2022:5757 https://access.redhat.com/errata/RHSA-2022:5757

Comment 7 errata-xmlrpc 2022-07-28 15:47:13 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK 17.0.4

Via RHSA-2022:5758 https://access.redhat.com/errata/RHSA-2022:5758

Comment 8 Mauro Matteo Cascella 2022-07-29 17:07:51 UTC
OpenJDK-17 upstream commit:
https://github.com/openjdk/jdk17u/commit/ff1ef50a42a7cadf262d8bc22a8775ffe19f5f04

Comment 11 Product Security DevOps Team 2022-08-30 17:33:00 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-2022-21549