==========================================================================
Ubuntu Security Notice USN-5388-2
April 26, 2022

openjdk-17 vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.04 LTS
- Ubuntu 21.10
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

Several security issues were fixed in OpenJDK.

Software Description:
- openjdk-17: Open Source Java implementation

Details:

It was discovered that OpenJDK incorrectly verified ECDSA signatures. An
attacker could use this issue to bypass the signature verification process.
(CVE-2022-21449)

It was discovered that OpenJDK incorrectly limited memory when compiling a
specially crafted XPath expression. An attacker could possibly use this
issue to cause a denial of service. (CVE-2022-21426)

It was discovered that OpenJDK incorrectly handled converting certain
object arguments into their textual representations. An attacker could
possibly use this issue to cause a denial of service. (CVE-2022-21434)

It was discovered that OpenJDK incorrectly validated the encoded length of
certain object identifiers. An attacker could possibly use this issue to
cause a denial of service. (CVE-2022-21443)

It was discovered that OpenJDK incorrectly validated certain paths. An
attacker could possibly use this issue to bypass the secure validation
feature and expose sensitive information in XML files. (CVE-2022-21476)

It was discovered that OpenJDK incorrectly parsed certain URI strings. An
attacker could possibly use this issue to make applications accept
invalid of malformed URI strings. (CVE-2022-21496)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.04 LTS:
  openjdk-17-jdk                  17.0.3+7-0ubuntu0.22.04.1
  openjdk-17-jdk-headless         17.0.3+7-0ubuntu0.22.04.1
  openjdk-17-jre                  17.0.3+7-0ubuntu0.22.04.1
  openjdk-17-jre-headless         17.0.3+7-0ubuntu0.22.04.1
  openjdk-17-jre-zero             17.0.3+7-0ubuntu0.22.04.1

Ubuntu 21.10:
  openjdk-17-jdk                  17.0.3+7-0ubuntu0.21.10.1
  openjdk-17-jdk-headless         17.0.3+7-0ubuntu0.21.10.1
  openjdk-17-jre                  17.0.3+7-0ubuntu0.21.10.1
  openjdk-17-jre-headless         17.0.3+7-0ubuntu0.21.10.1
  openjdk-17-jre-zero             17.0.3+7-0ubuntu0.21.10.1

Ubuntu 20.04 LTS:
  openjdk-17-jdk                  17.0.3+7-0ubuntu0.20.04.1
  openjdk-17-jdk-headless         17.0.3+7-0ubuntu0.20.04.1
  openjdk-17-jre                  17.0.3+7-0ubuntu0.20.04.1
  openjdk-17-jre-headless         17.0.3+7-0ubuntu0.20.04.1
  openjdk-17-jre-zero             17.0.3+7-0ubuntu0.20.04.1

Ubuntu 18.04 LTS:
  openjdk-17-jdk                  17.0.3+7-0ubuntu0.18.04.1
  openjdk-17-jdk-headless         17.0.3+7-0ubuntu0.18.04.1
  openjdk-17-jre                  17.0.3+7-0ubuntu0.18.04.1
  openjdk-17-jre-headless         17.0.3+7-0ubuntu0.18.04.1
  openjdk-17-jre-zero             17.0.3+7-0ubuntu0.18.04.1

This update uses a new upstream release, which includes additional bug
fixes. After a standard system update you need to restart any Java
applications or applets to make all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-5388-2
  https://ubuntu.com/security/notices/USN-5388-1
  CVE-2022-21426, CVE-2022-21434, CVE-2022-21443, CVE-2022-21449,
  CVE-2022-21476, CVE-2022-21496

Package Information:
  https://launchpad.net/ubuntu/+source/openjdk-17/17.0.3+7-0ubuntu0.22.04.1
  https://launchpad.net/ubuntu/+source/openjdk-17/17.0.3+7-0ubuntu0.21.10.1
  https://launchpad.net/ubuntu/+source/openjdk-17/17.0.3+7-0ubuntu0.20.04.1
  https://launchpad.net/ubuntu/+source/openjdk-17/17.0.3+7-0ubuntu0.18.04.1