Bug 1951217 (CVE-2021-2163)

Summary: CVE-2021-2163 OpenJDK: Incomplete enforcement of JAR signing disabled algorithms (Libraries, 8249906)
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ahughes, chazlett, java-qa, jochrist, jvanek, neugens, pjindal, 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: 2021-04-20 22:46:37 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: 1940226, 1940227, 1940228, 1940229, 1943233, 1943234, 1943235, 1943286, 1943839, 1943840, 1943841, 1943842, 2025498, 2025499, 2025500, 2124974    
Bug Blocks: 1938202    

Description Tomas Hoger 2021-04-19 20:37:27 UTC
A flaw was found in the way the Libraries component of OpenJDK enforced constraints defined in the jdk.jar.disabledAlgorithms security property.  Verification of a JAR filed signed using a disabled algorithm could succeed in certain cases, leading to bypass of the intended security restrictions.

Comment 3 Tomas Hoger 2021-04-20 20:18:47 UTC
Public now via Oracle CPU April 2021:

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

Fixed in Oracle Java SE 16.0.1, 11.0.11, 8u291, and 7u301.

Comment 4 errata-xmlrpc 2021-04-20 21:33:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:1301 https://access.redhat.com/errata/RHSA-2021:1301

Comment 5 errata-xmlrpc 2021-04-20 21:38:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2021:1305 https://access.redhat.com/errata/RHSA-2021:1305

Comment 6 errata-xmlrpc 2021-04-20 21:52:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:1299 https://access.redhat.com/errata/RHSA-2021:1299

Comment 7 errata-xmlrpc 2021-04-20 22:01:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:1306 https://access.redhat.com/errata/RHSA-2021:1306

Comment 8 errata-xmlrpc 2021-04-20 22:04:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:1307 https://access.redhat.com/errata/RHSA-2021:1307

Comment 9 errata-xmlrpc 2021-04-20 22:12:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2021:1298 https://access.redhat.com/errata/RHSA-2021:1298

Comment 10 errata-xmlrpc 2021-04-20 22:39:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2021:1297 https://access.redhat.com/errata/RHSA-2021:1297

Comment 11 Product Security DevOps Team 2021-04-20 22:46:37 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-2021-2163

Comment 12 errata-xmlrpc 2021-04-21 14:48:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2021:1315 https://access.redhat.com/errata/RHSA-2021:1315

Comment 13 Tomas Hoger 2021-04-23 19:27:22 UTC
OpenJDK-11 upstream commit:
http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/c82c3d65c256

OpenJDK-8 upstream commit:
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/412d2b1381a4

Comment 14 errata-xmlrpc 2021-04-28 12:34:02 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK

Via RHSA-2021:1444 https://access.redhat.com/errata/RHSA-2021:1444

Comment 15 errata-xmlrpc 2021-04-28 12:34:25 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK

Via RHSA-2021:1445 https://access.redhat.com/errata/RHSA-2021:1445

Comment 16 errata-xmlrpc 2021-04-28 12:34:54 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK

Via RHSA-2021:1447 https://access.redhat.com/errata/RHSA-2021:1447

Comment 17 errata-xmlrpc 2021-04-28 12:35:22 UTC
This issue has been addressed in the following products:

  Red Hat Build of OpenJDK

Via RHSA-2021:1446 https://access.redhat.com/errata/RHSA-2021:1446

Comment 25 errata-xmlrpc 2022-09-29 15:14:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Supplementary

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

Comment 26 errata-xmlrpc 2022-09-29 15:17:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Supplementary

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

Comment 27 errata-xmlrpc 2022-10-25 08:56:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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