Ubuntu 6589 Published by

An OpenJDK security update has been released for Ubuntu Linux 18.04 LTS, 20.04 LTS, and 21.10.



USN-5313-1: OpenJDK vulnerabilities


=========================================================================
Ubuntu Security Notice USN-5313-1
March 07, 2022

openjdk-lts, openjdk-17 vulnerabilities
=========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- 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
- openjdk-lts: Open Source Java implementation

Details:

It was discovered that OpenJDK incorrectly handled deserialization filters.
An attacker could possibly use this issue to insert, delete or obtain
sensitive information. (CVE-2022-21248)

It was discovered that OpenJDK incorrectly read uncompressed TIFF files.
An attacker could possibly use this issue to cause a denial of service via
a specially crafted TIFF file. (CVE-2022-21277)

Jonni Passki discovered that OpenJDK incorrectly verified access
restrictions when performing URI resolution. An attacker could possibly
use this issue to obtain sensitive information. (CVE-2022-21282)

It was discovered that OpenJDK incorrectly handled certain regular
expressions in the Pattern class implementation. An attacker could
possibly use this issue to cause a denial of service. (CVE-2022-21283)

It was discovered that OpenJDK incorrectly handled specially crafted Java
class files. An attacker could possibly use this issue to cause a denial
of service. (CVE-2022-21291)

Markus Loewe discovered that OpenJDK incorrectly validated attributes
during object deserialization. An attacker could possibly use this issue
to cause a denial of service. (CVE-2022-21293, CVE-2022-21294)

Dan Rabe discovered that OpenJDK incorrectly verified access permissions
in the JAXP component. An attacker could possibly use this to specially
craft an XML file to obtain sensitive information. (CVE-2022-21296)

It was discovered that OpenJDK incorrectly handled XML entities. An
attacker could use this to specially craft an XML file that, when parsed,
would possibly cause a denial of service. (CVE-2022-21299)

Zhiqiang Zang discovered that OpenJDK incorrectly handled array indexes.
An attacker could possibly use this issue to obtain sensitive information.
(CVE-2022-21305)

It was discovered that OpenJDK incorrectly read very long attributes
values in JAR file manifests. An attacker could possibly use this to
specially craft JAR file to cause a denial of service. (CVE-2022-21340)

It was discovered that OpenJDK incorrectly validated input from serialized
streams. An attacker cold possibly use this issue to bypass sandbox
restrictions. (CVE-2022-21341)

Fabian Meumertzheim discovered that OpenJDK incorrectly handled certain
specially crafted BMP or TIFF files. An attacker could possibly use this
to cause a denial of service. (CVE-2022-21360, CVE-2022-21366)

It was discovered that an integer overflow could be triggered in OpenJDK
BMPImageReader class implementation. An attacker could possibly use this
to specially craft a BMP file to cause a denial of service.
(CVE-2022-21365)

Update instructions:

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

Ubuntu 21.10:
openjdk-11-jdk 11.0.14+9-0ubuntu2~22.10
openjdk-11-jre 11.0.14+9-0ubuntu2~22.10
openjdk-11-jre-headless 11.0.14+9-0ubuntu2~22.10
openjdk-11-jre-zero 11.0.14+9-0ubuntu2~22.10
openjdk-17-jdk 17.0.2+8-1~22.10
openjdk-17-jre 17.0.2+8-1~22.10
openjdk-17-jre-headless 17.0.2+8-1~22.10
openjdk-17-jre-zero 17.0.2+8-1~22.10

Ubuntu 20.04 LTS:
openjdk-11-jdk 11.0.14+9-0ubuntu2~20.04
openjdk-11-jre 11.0.14+9-0ubuntu2~20.04
openjdk-11-jre-headless 11.0.14+9-0ubuntu2~20.04
openjdk-11-jre-zero 11.0.14+9-0ubuntu2~20.04
openjdk-17-jdk 17.0.2+8-1~20.04
openjdk-17-jre 17.0.2+8-1~20.04
openjdk-17-jre-headless 17.0.2+8-1~20.04
openjdk-17-jre-zero 17.0.2+8-1~20.04

Ubuntu 18.04 LTS:
openjdk-11-jdk 11.0.14+9-0ubuntu2~18.04
openjdk-11-jre 11.0.14+9-0ubuntu2~18.04
openjdk-11-jre-headless 11.0.14+9-0ubuntu2~18.04
openjdk-11-jre-zero 11.0.14+9-0ubuntu2~18.04
openjdk-17-jdk 17.0.2+8-1~18.04
openjdk-17-jre 17.0.2+8-1~18.04
openjdk-17-jre-headless 17.0.2+8-1~18.04
openjdk-17-jre-zero 17.0.2+8-1~18.04

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-5313-1
CVE-2022-21248, CVE-2022-21277, CVE-2022-21282, CVE-2022-21283,
CVE-2022-21291, CVE-2022-21293, CVE-2022-21294, CVE-2022-21296,
CVE-2022-21299, CVE-2022-21305, CVE-2022-21340, CVE-2022-21341,
CVE-2022-21360, CVE-2022-21365, CVE-2022-21366

Package Information:
  https://launchpad.net/ubuntu/+source/openjdk-17/17.0.2+8-1~22.10
  https://launchpad.net/ubuntu/+source/openjdk-lts/11.0.14+9-0ubuntu2~22.10
  https://launchpad.net/ubuntu/+source/openjdk-17/17.0.2+8-1~20.04
  https://launchpad.net/ubuntu/+source/openjdk-lts/11.0.14+9-0ubuntu2~20.04
  https://launchpad.net/ubuntu/+source/openjdk-17/17.0.2+8-1~18.04
  https://launchpad.net/ubuntu/+source/openjdk-lts/11.0.14+9-0ubuntu2~18.04