USN-6662-1

Source
https://ubuntu.com/security/notices/USN-6662-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6662-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-6662-1
Upstream
Related
Published
2024-02-27T02:12:05.312025Z
Modified
2025-07-16T08:57:07.903809Z
Summary
openjdk-21 vulnerabilities
Details

Yi Yang discovered that the Hotspot component of OpenJDK 21 incorrectly handled array accesses in the C1 compiler. An attacker could possibly use this issue to cause a denial of service, execute arbitrary code or bypass Java sandbox restrictions. (CVE-2024-20918)

It was discovered that the Hotspot component of OpenJDK 21 did not properly verify bytecode in certain situations. An attacker could possibly use this issue to bypass Java sandbox restrictions. (CVE-2024-20919)

It was discovered that the Hotspot component of OpenJDK 21 had an optimization flaw when generating range check loop predicates. An attacker could possibly use this issue to cause a denial of service, execute arbitrary code or bypass Java sandbox restrictions. (CVE-2024-20921)

It was discovered that OpenJDK 21 could produce debug logs that contained private keys used for digital signatures. An attacker could possibly use this issue to obtain sensitive information. (CVE-2024-20945)

Hubert Kario discovered that the TLS implementation in OpenJDK 21 had a timing side-channel and incorrectly handled RSA padding. A remote attacker could possibly use this issue to recover sensitive information. (CVE-2024-20952)

References

Affected packages

Ubuntu:20.04:LTS / openjdk-21

Package

Name
openjdk-21
Purl
pkg:deb/ubuntu/openjdk-21@21.0.2+13-1~20.04.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
21.0.2+13-1~20.04.1

Affected versions

21.*

21.0.1+12-2~20.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "openjdk-21-dbg",
            "binary_version": "21.0.2+13-1~20.04.1"
        },
        {
            "binary_name": "openjdk-21-demo",
            "binary_version": "21.0.2+13-1~20.04.1"
        },
        {
            "binary_name": "openjdk-21-doc",
            "binary_version": "21.0.2+13-1~20.04.1"
        },
        {
            "binary_name": "openjdk-21-jdk",
            "binary_version": "21.0.2+13-1~20.04.1"
        },
        {
            "binary_name": "openjdk-21-jdk-headless",
            "binary_version": "21.0.2+13-1~20.04.1"
        },
        {
            "binary_name": "openjdk-21-jre",
            "binary_version": "21.0.2+13-1~20.04.1"
        },
        {
            "binary_name": "openjdk-21-jre-headless",
            "binary_version": "21.0.2+13-1~20.04.1"
        },
        {
            "binary_name": "openjdk-21-jre-zero",
            "binary_version": "21.0.2+13-1~20.04.1"
        },
        {
            "binary_name": "openjdk-21-source",
            "binary_version": "21.0.2+13-1~20.04.1"
        }
    ]
}

Ubuntu:22.04:LTS / openjdk-21

Package

Name
openjdk-21
Purl
pkg:deb/ubuntu/openjdk-21@21.0.2+13-1~22.04.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
21.0.2+13-1~22.04.1

Affected versions

21.*

21.0.1+12-2~22.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "openjdk-21-dbg",
            "binary_version": "21.0.2+13-1~22.04.1"
        },
        {
            "binary_name": "openjdk-21-demo",
            "binary_version": "21.0.2+13-1~22.04.1"
        },
        {
            "binary_name": "openjdk-21-doc",
            "binary_version": "21.0.2+13-1~22.04.1"
        },
        {
            "binary_name": "openjdk-21-jdk",
            "binary_version": "21.0.2+13-1~22.04.1"
        },
        {
            "binary_name": "openjdk-21-jdk-headless",
            "binary_version": "21.0.2+13-1~22.04.1"
        },
        {
            "binary_name": "openjdk-21-jre",
            "binary_version": "21.0.2+13-1~22.04.1"
        },
        {
            "binary_name": "openjdk-21-jre-headless",
            "binary_version": "21.0.2+13-1~22.04.1"
        },
        {
            "binary_name": "openjdk-21-jre-zero",
            "binary_version": "21.0.2+13-1~22.04.1"
        },
        {
            "binary_name": "openjdk-21-source",
            "binary_version": "21.0.2+13-1~22.04.1"
        }
    ]
}