AlmaLinux Security Advisory
ALSA-2024:0267
Important: java-17-openjdk security and bug fix update
Details
The java-17-openjdk packages provide the OpenJDK 17 Java Runtime Environment and the OpenJDK 17 Java Software Development Kit.
Security Fix(es):
- OpenJDK: array out-of-bounds access due to missing range check in C1 compiler (8314468) (CVE-2024-20918)
- OpenJDK: incorrect handling of ZIP files with duplicate entries (8276123) (CVE-2024-20932)
- OpenJDK: RSA padding issue and timing side-channel attack against TLS (8317547) (CVE-2024-20952)
- OpenJDK: JVM class file verifier flaw allows unverified bytecode execution (8314295) (CVE-2024-20919)
- OpenJDK: range check loop optimization issue (8314307) (CVE-2024-20921)
- OpenJDK: logging of digital signature private keys (8316976) (CVE-2024-20945)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Bug Fix(es):
- When Transparent Huge Pages (THP) are unconditionally enabled on a system, Java applications using many threads were found to have a large Resident Set Size (RSS). This was due to a race between the kernel transforming thread stack memory into huge pages and the Java Virtual Machine (JVM) shattering these pages into smaller ones when adding a guard page. This release resolves this issue by getting glibc to insert a guard page and prevent the creation of huge pages. (AlmaLinux-13930, AlmaLinux-13931, AlmaLinux-13934, AlmaLinux-13935)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| AlmaLinux:9 | java-17-openjdk | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-demo | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-demo-fastdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-demo-slowdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-devel | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-devel-fastdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-devel-slowdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-fastdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-headless | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-headless-fastdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-headless-slowdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-javadoc | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-javadoc-zip | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-jmods | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-jmods-fastdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-jmods-slowdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-slowdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-src | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-src-fastdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-src-slowdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-static-libs | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-static-libs-fastdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
| AlmaLinux:9 | java-17-openjdk-static-libs-slowdebug | All versions before 1:17.0.10.0.7-2.el9 (fixed in 1:17.0.10.0.7-2.el9) |
References
- https://access.redhat.com/errata/RHSA-2024:0267
- https://access.redhat.com/security/cve/CVE-2024-20918
- https://access.redhat.com/security/cve/CVE-2024-20919
- https://access.redhat.com/security/cve/CVE-2024-20921
- https://access.redhat.com/security/cve/CVE-2024-20932
- https://access.redhat.com/security/cve/CVE-2024-20945
- https://access.redhat.com/security/cve/CVE-2024-20952
- https://bugzilla.redhat.com/2257720
- https://bugzilla.redhat.com/2257728
- https://bugzilla.redhat.com/2257837
- https://bugzilla.redhat.com/2257853
- https://bugzilla.redhat.com/2257859
- https://bugzilla.redhat.com/2257874
- https://errata.almalinux.org/9/ALSA-2024-0267.html