Advisory

ALSA-2022:5736

Also known as: CVE-2022-21540, CVE-2022-21541, CVE-2022-21549, CVE-2022-34169

Summary

Important: java-17-openjdk security, bug fix, and enhancement update

Details

The java-17-openjdk packages provide the OpenJDK 17 Java Runtime Environment and the OpenJDK 17 Java Software Development Kit.
The following packages have been upgraded to a later upstream version: java-17-openjdk (17.0.4.0.8). (BZ#2084779)
Security Fix(es):

  • OpenJDK: integer truncation issue in Xalan-J (JAXP, 8285407) (CVE-2022-34169)
  • OpenJDK: class compilation issue (Hotspot, 8281859) (CVE-2022-21540)
  • OpenJDK: improper restriction of MethodHandle.invokeBasic() (Hotspot, 8281866) (CVE-2022-21541)
  • OpenJDK: random exponentials issue (Libraries, 8283875) (CVE-2022-21549)

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):

  • Previous AlmaLinux builds of OpenJDK 17 altered the arguments passed to sun.security.pkcs11.wrapper.PKCS11.getInstance() in order to facilitate FIPS support. This build adds an additional form of the method, retaining the original arguments, so that applications which depend on this internal method continue to function with AlmaLinux builds of OpenJDK. (BZ#2099919)
  • With previous AlmaLinux builds of OpenJDK 17, Mac key generation and import would fail due to the lack of the CKA_SIGN attribute on the key. This attribute is now added as part of the NSS FIPS configuration. (BZ#2105395)
  • With the release of AlmaLinux, a change was made so that disabling OpenJDK FIPS mode required the use of both the -Djava.security.disableSystemPropertiesFile=true and -Dcom.AlmaLinux.fips=false options, with the intention that FIPS mode could be controlled independently of system security properties. This change has now been reverted and only -Djava.security.disableSystemPropertiesFile=true is required to disable FIPS mode, as in AlmaLinux. (BZ#2107941)
  • Previous AlmaLinux builds of OpenJDK 17 running in FIPS mode with a SecurityManager would fail due to a lack of module access permissions. This has now been corrected. (BZ#2107943)

Severity

Not rated by the source.

Dates

Published
2022-07-27 00:00 UTC
Modified
2026-10-29 11:31 UTC

Affected packages and fixes

23 affected packages; all RPM packages (rpm) · AlmaLinux 9; affected: earlier versions
PackageFix
java-17-openjdksudo dnf upgrade java-17-openjdk-1:17.0.4.0.8-2.el9_0
java-17-openjdk-demosudo dnf upgrade java-17-openjdk-demo-1:17.0.4.0.8-2.el9_0
java-17-openjdk-demo-fastdebugsudo dnf upgrade java-17-openjdk-demo-fastdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-demo-slowdebugsudo dnf upgrade java-17-openjdk-demo-slowdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-develsudo dnf upgrade java-17-openjdk-devel-1:17.0.4.0.8-2.el9_0
java-17-openjdk-devel-fastdebugsudo dnf upgrade java-17-openjdk-devel-fastdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-devel-slowdebugsudo dnf upgrade java-17-openjdk-devel-slowdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-fastdebugsudo dnf upgrade java-17-openjdk-fastdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-headlesssudo dnf upgrade java-17-openjdk-headless-1:17.0.4.0.8-2.el9_0
java-17-openjdk-headless-fastdebugsudo dnf upgrade java-17-openjdk-headless-fastdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-headless-slowdebugsudo dnf upgrade java-17-openjdk-headless-slowdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-javadocsudo dnf upgrade java-17-openjdk-javadoc-1:17.0.4.0.8-2.el9_0
java-17-openjdk-javadoc-zipsudo dnf upgrade java-17-openjdk-javadoc-zip-1:17.0.4.0.8-2.el9_0
java-17-openjdk-jmodssudo dnf upgrade java-17-openjdk-jmods-1:17.0.4.0.8-2.el9_0
java-17-openjdk-jmods-fastdebugsudo dnf upgrade java-17-openjdk-jmods-fastdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-jmods-slowdebugsudo dnf upgrade java-17-openjdk-jmods-slowdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-slowdebugsudo dnf upgrade java-17-openjdk-slowdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-srcsudo dnf upgrade java-17-openjdk-src-1:17.0.4.0.8-2.el9_0
java-17-openjdk-src-fastdebugsudo dnf upgrade java-17-openjdk-src-fastdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-src-slowdebugsudo dnf upgrade java-17-openjdk-src-slowdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-static-libssudo dnf upgrade java-17-openjdk-static-libs-1:17.0.4.0.8-2.el9_0
java-17-openjdk-static-libs-fastdebugsudo dnf upgrade java-17-openjdk-static-libs-fastdebug-1:17.0.4.0.8-2.el9_0
java-17-openjdk-static-libs-slowdebugsudo dnf upgrade java-17-openjdk-static-libs-slowdebug-1:17.0.4.0.8-2.el9_0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: AlmaLinux OSV database · MIT

Sources & licences