Skip to content
Fencer Vulns
medium 5.9

CVE-2023-21954 json

Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot).

published 2023-04-18 3 y ago modified 2026-09-08 2 mo ago also BIT-java-2023-21954 , BIT-java-min-2023-21954 , BIT-jre-2023-21954 , EUVD-2023-26119

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot). Supported versions that are affected are Oracle Java SE: 8u361, 8u361-perf, 11.0.18, 17.0.6; Oracle GraalVM Enterprise Edition: 20.3.9, 21.3.5 and 22.3.1. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all Oracle Java SE, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. This vulnerability can also be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs. CVSS 3.1 Base Score 5.9 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Patch / fix

  • bitnami java 1.8.0, 8.0.371, 11.0.19, 17.0.7
  • bitnami java-min 1.8.0, 8.0.371, 11.0.19, 17.0.7
  • bitnami jre 1.8.0, 8.0.371, 11.0.19, 17.0.7
  • oracle graalvm_enterprise 20.3.10, 21.3.6, 22.3.2
  • oracle java_se 1.8.0_371, 8.0.371, 11.0.19, 17.0.7
  • oracle jdk 1.8.0_371, 8.0.371, 11.0.19, 17.0.7
  • oracle jre 1.8.0_371, 8.0.371, 11.0.19, 17.0.7
  • sun java 1.8.0_371, 8.0.371, 11.0.19, 17.0.7
  • sun java_se 1.8.0_371, 8.0.371, 11.0.19, 17.0.7
  • sun jdk 1.8.0_371, 8.0.371, 11.0.19, 17.0.7
  • sun jre 1.8.0_371, 8.0.371, 11.0.19, 17.0.7
  • oracle openjdk 1.8.0_372, 8.0.372, 11.0.19, 17.0.7
  • sun openjdk 1.8.0_372, 8.0.372, 11.0.19, 17.0.7
  • openjdk-17 Debian 12 17.0.7+7-1~deb12u1

debian advisories DEBIAN-CVE-2023-21954

  • openjdk-8 Ubuntu 18.04 LTS 8u372-ga~us1-0ubuntu1~18.04
  • openjdk-8 Ubuntu 20.04 LTS 8u372-ga~us1-0ubuntu1~20.04
  • openjdk-8 Ubuntu 22.04 LTS 8u372-ga~us1-0ubuntu1~22.04
  • openjdk-17 Ubuntu 18.04 LTS 17.0.7+7~us1-0ubuntu1~18.04
  • openjdk-17 Ubuntu 20.04 LTS 17.0.7+7~us1-0ubuntu1~20.04
  • openjdk-17 Ubuntu 22.04 LTS 17.0.7+7~us1-0ubuntu1~22.04.2
  • openjdk-lts Ubuntu 18.04 LTS 11.0.19+7~us1-0ubuntu1~18.04.1
  • openjdk-lts Ubuntu 20.04 LTS 11.0.19+7~us1-0ubuntu1~20.04.1

ubuntu advisories UBUNTU-CVE-2023-21954

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • java-1.8.0-openjdk RHEL 7 1:1.8.0.372.b07-1.el7_9
  • java-1.8.0-openjdk-src RHEL 7 1:1.8.0.372.b07-1.el7_9
  • java-1.8.0-openjdk-demo RHEL 7 1:1.8.0.372.b07-1.el7_9
  • java-1.8.0-openjdk-javadoc RHEL 7 1:1.8.0.372.b07-1.el7_9
  • java-1.8.0-openjdk-headless RHEL 7 1:1.8.0.372.b07-1.el7_9
  • java-1.8.0-openjdk-javadoc-zip RHEL 7 1:1.8.0.372.b07-1.el7_9
  • java-1.8.0-openjdk-accessibility RHEL 7 1:1.8.0.372.b07-1.el7_9
  • java-1.8.0-openjdk RHEL 9 1:1.8.0.372.b07-1.el9_1

red hat advisories RHSA-2023:1905RHSA-2023:1889RHSA-2023:1904RHSA-2023:1890RHSA-2023:1910RHSA-2023:1891

  • java-1_8_0-openj9 SLE Module for Package Hub 15 SP5, openSUSE Leap 15.5, openSUSE Leap 15.4 1.8.0.372-150200.3.33.2
  • java-1_8_0-openjdk SLE Module for Legacy 15 SP5, SLE Module for Legacy 15 SP4, SLE High Performance Computing 15 SP3-ESPOS +11 more 1.8.0.372-150000.3.79.1
  • java-1_8_0-ibm SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +11 more 1.8.0_sr8.5-150000.3.74.1
  • java-1_8_0-ibm SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 1.8.0_sr8.5-30.108.1
  • java-1_8_0-openjdk SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +5 more 1.8.0.372-27.87.1
  • java-11-openjdk SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +15 more 11.0.19.0-150000.3.96.1
  • java-17-openjdk SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 17.0.7.0-150400.3.18.2
  • java-11-openjdk SLES for SAP 12 SP5, SLES 12 SP5 11.0.19.0-3.58.2

suse advisories SUSE-SU-2023:3305-1SUSE-SU-2023:2242-2SUSE-SU-2023:2491-1SUSE-SU-2023:2476-1SUSE-SU-2023:2242-1SUSE-SU-2023:2238-1

  • java-17-openj9 Package Hub 15 SP6, openSUSE Leap 15.6 17.0.14.0-bp156.3.3.1
  • java-11-openj9 Package Hub 15 SP6, openSUSE Leap 15.6 11.0.26.0-bp156.4.3.1
  • java-11-openjdk openSUSE Tumbleweed 11.0.19.0-1.1
  • java-17-openjdk openSUSE Tumbleweed 17.0.7.0-1.1
  • java-1_8_0-openjdk openSUSE Tumbleweed 1.8.0.372-1.1
  • java-1_8_0-openj9 openSUSE Tumbleweed 1.8.0.372-1.1
  • java-11-openj9 openSUSE Tumbleweed 11.0.20.0-1.1
  • java-17-openj9 openSUSE Tumbleweed 17.0.8.0-1.1

opensuse advisories openSUSE-SU-2025:0067-1openSUSE-SU-2025:0066-1openSUSE-SU-2024:12891-1openSUSE-SU-2024:12892-1openSUSE-SU-2024:12909-1openSUSE-SU-2024:13110-1

  • java-1.8.0-openjdk AlmaLinux 8 1:1.8.0.372.b07-1.el8_7
  • java-1.8.0-openjdk-src AlmaLinux 8 1:1.8.0.372.b07-1.el8_7
  • java-1.8.0-openjdk-demo AlmaLinux 8 1:1.8.0.372.b07-1.el8_7
  • java-1.8.0-openjdk-javadoc AlmaLinux 8 1:1.8.0.372.b07-1.el8_7
  • java-1.8.0-openjdk-headless AlmaLinux 8 1:1.8.0.372.b07-1.el8_7
  • java-1.8.0-openjdk-fastdebug AlmaLinux 8 1:1.8.0.372.b07-1.el8_7
  • java-1.8.0-openjdk-slowdebug AlmaLinux 8 1:1.8.0.372.b07-1.el8_7
  • java-1.8.0-openjdk-javadoc-zip AlmaLinux 8 1:1.8.0.372.b07-1.el8_7

almalinux advisories ALSA-2023:1908ALSA-2023:1909ALSA-2023:1895ALSA-2023:1898ALSA-2023:1879ALSA-2023:1880

  • java-17-openjdk Rocky Linux 9 1:17.0.7.0.7-1.el9_1
  • java-11-openjdk Rocky Linux 9 1:11.0.19.0.7-1.el9_1
  • java-1.8.0-openjdk Rocky Linux 9 1:1.8.0.372.b07-1.el9_1
  • java-11-openjdk Rocky Linux 8 1:11.0.19.0.7-1.el8_7
  • java-17-openjdk Rocky Linux 8 1:17.0.7.0.7-1.el8_7

rocky linux advisories RLSA-2023:1879RLSA-2023:1880RLSA-2023:1909RLSA-2023:1895RLSA-2023:1898

  • openjdk8 Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 8.372.07-r0
  • openjdk11 Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 11.0.19_p7-r0
  • openjdk17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 17.0.7_p7-r0

alpine advisories ALPINE-CVE-2023-21954

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-21954 updated cvss 5.9

OpenJDK: incorrect enqueue of references in garbage collector (8298191)

  • Red Hat build of OpenJDK 1.8 Linux Linux, Windows Windows Red Hat build of OpenJDK 11 Linux Linux, Windows Windows Red Hat build of OpenJDK 17 Linux Linux, Windows Windows
    affected: no fix available
  • Red Hat Enterprise Linux 6 java-1.6.0-openjdk, java-1.7.0-openjdk, java-1.8.0-openjdk, java-1.6.0-openjdk-src, java-1.7.0-openjdk-src, java-1.8.0-openjdk-src, +7 more Red Hat Enterprise Linux 7 java-1.6.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk-src, java-1.7.0-openjdk-src, java-1.6.0-openjdk-demo, java-1.7.0-openjdk-demo, +4 more
    affected: no fix planned “Out of support scope”
  • Red Hat Build of OpenJDK 8u362
    fixed: vendor fix RHSA-2023:1903
  • Red Hat Build of OpenJDK 11.0.19
    fixed: vendor fix RHSA-2023:1882
  • Red Hat Build of OpenJDK 17.0.7
    fixed: vendor fix RHSA-2023:1884
  • Red Hat CodeReady Linux Builder (v. 8) java-17-openjdk-fastdebug 17.0.7.0.7-1.el8_7, java-17-openjdk-slowdebug 17.0.7.0.7-1.el8_7, java-11-openjdk-fastdebug 11.0.19.0.7-1.el8_7, java-11-openjdk-slowdebug 11.0.19.0.7-1.el8_7, java-17-openjdk-src-fastdebug 17.0.7.0.7-1.el8_7, java-17-openjdk-src-slowdebug 17.0.7.0.7-1.el8_7, +34 more
    fixed: vendor fix RHSA-2023:1908
  • Red Hat CodeReady Linux Builder (v. 9) java-17-openjdk-fastdebug 17.0.7.0.7-1.el9_1, java-17-openjdk-slowdebug 17.0.7.0.7-1.el9_1, java-11-openjdk-fastdebug 11.0.19.0.7-1.el9_1, java-11-openjdk-slowdebug 11.0.19.0.7-1.el9_1, java-17-openjdk-src-fastdebug 17.0.7.0.7-1.el9_1, java-17-openjdk-src-slowdebug 17.0.7.0.7-1.el9_1, +32 more
    fixed: vendor fix RHSA-2023:1909
  • Red Hat CodeReady Linux Builder EUS (v.8.6) java-17-openjdk-fastdebug 17.0.7.0.7-1.el8_6, java-17-openjdk-slowdebug 17.0.7.0.7-1.el8_6, java-11-openjdk-fastdebug 11.0.19.0.7-1.el8_6, java-11-openjdk-slowdebug 11.0.19.0.7-1.el8_6, java-17-openjdk-src-fastdebug 17.0.7.0.7-1.el8_6, java-17-openjdk-src-slowdebug 17.0.7.0.7-1.el8_6, +34 more
    fixed: vendor fix RHSA-2023:1906
show 13 more
  • Red Hat CodeReady Linux Builder EUS (v.9.0) java-17-openjdk-fastdebug 17.0.7.0.7-1.el9_0, java-17-openjdk-slowdebug 17.0.7.0.7-1.el9_0, java-11-openjdk-fastdebug 11.0.19.0.7-1.el9_0, java-11-openjdk-slowdebug 11.0.19.0.7-1.el9_0, java-17-openjdk-src-fastdebug 17.0.7.0.7-1.el9_0, java-17-openjdk-src-slowdebug 17.0.7.0.7-1.el9_0, +32 more
    fixed: vendor fix RHSA-2023:1910
  • Red Hat Enterprise Linux AppStream (v. 8) java-17-openjdk 17.0.7.0.7-1.el8_7, java-11-openjdk 11.0.19.0.7-1.el8_7, java-17-openjdk-src 17.0.7.0.7-1.el8_7, java-11-openjdk-src 11.0.19.0.7-1.el8_7, java-17-openjdk-demo 17.0.7.0.7-1.el8_7, java-1.8.0-openjdk 1.8.0.372.b07-1.el8_7, +17 more
    fixed: vendor fix RHSA-2023:1908
  • Red Hat Enterprise Linux AppStream (v. 9) java-17-openjdk 17.0.7.0.7-1.el9_1, java-11-openjdk 11.0.19.0.7-1.el9_1, java-17-openjdk-src 17.0.7.0.7-1.el9_1, java-11-openjdk-src 11.0.19.0.7-1.el9_1, java-17-openjdk-demo 17.0.7.0.7-1.el9_1, java-1.8.0-openjdk 1.8.0.372.b07-1.el9_1, +16 more
    fixed: vendor fix RHSA-2023:1909
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) java-11-openjdk 11.0.19.0.7-1.el8_2, java-11-openjdk-src 11.0.19.0.7-1.el8_2, java-1.8.0-openjdk 1.8.0.372.b07-1.el8_2, java-11-openjdk-demo 11.0.19.0.7-1.el8_2, java-11-openjdk-jmods 11.0.19.0.7-1.el8_2, java-11-openjdk-javadoc 11.0.19.0.7-1.el8_2, +9 more
    fixed: vendor fix RHSA-2023:1905
  • Red Hat Enterprise Linux AppStream E4S (v. 8.1) java-11-openjdk 11.0.19.0.7-1.el8_1, java-11-openjdk-src 11.0.19.0.7-1.el8_1, java-1.8.0-openjdk 1.8.0.372.b07-1.el8_1, java-11-openjdk-demo 11.0.19.0.7-1.el8_1, java-11-openjdk-jmods 11.0.19.0.7-1.el8_1, java-11-openjdk-javadoc 11.0.19.0.7-1.el8_1, +8 more
    fixed: vendor fix RHSA-2023:1911
  • Red Hat Enterprise Linux AppStream E4S (v. 8.2) java-11-openjdk 11.0.19.0.7-1.el8_2, java-11-openjdk-src 11.0.19.0.7-1.el8_2, java-1.8.0-openjdk 1.8.0.372.b07-1.el8_2, java-11-openjdk-demo 11.0.19.0.7-1.el8_2, java-11-openjdk-jmods 11.0.19.0.7-1.el8_2, java-11-openjdk-javadoc 11.0.19.0.7-1.el8_2, +9 more
    fixed: vendor fix RHSA-2023:1905
  • Red Hat Enterprise Linux AppStream EUS (v.8.4) java-17-openjdk 17.0.7.0.7-1.el8_4, java-11-openjdk 11.0.19.0.7-1.el8_4, java-17-openjdk-src 17.0.7.0.7-1.el8_4, java-11-openjdk-src 11.0.19.0.7-1.el8_4, java-17-openjdk-demo 17.0.7.0.7-1.el8_4, java-1.8.0-openjdk 1.8.0.372.b07-1.el8_4, +17 more
    fixed: vendor fix RHSA-2023:1907
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) java-17-openjdk 17.0.7.0.7-1.el8_6, java-11-openjdk 11.0.19.0.7-1.el8_6, java-17-openjdk-src 17.0.7.0.7-1.el8_6, java-11-openjdk-src 11.0.19.0.7-1.el8_6, java-17-openjdk-demo 17.0.7.0.7-1.el8_6, java-1.8.0-openjdk 1.8.0.372.b07-1.el8_6, +17 more
    fixed: vendor fix RHSA-2023:1906
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) java-17-openjdk 17.0.7.0.7-1.el9_0, java-11-openjdk 11.0.19.0.7-1.el9_0, java-17-openjdk-src 17.0.7.0.7-1.el9_0, java-11-openjdk-src 11.0.19.0.7-1.el9_0, java-17-openjdk-demo 17.0.7.0.7-1.el9_0, java-1.8.0-openjdk 1.8.0.372.b07-1.el9_0, +16 more
    fixed: vendor fix RHSA-2023:1910
  • Red Hat Enterprise Linux AppStream TUS (v. 8.2) java-11-openjdk 11.0.19.0.7-1.el8_2, java-11-openjdk-src 11.0.19.0.7-1.el8_2, java-1.8.0-openjdk 1.8.0.372.b07-1.el8_2, java-11-openjdk-demo 11.0.19.0.7-1.el8_2, java-11-openjdk-jmods 11.0.19.0.7-1.el8_2, java-11-openjdk-javadoc 11.0.19.0.7-1.el8_2, +9 more
    fixed: vendor fix RHSA-2023:1905
  • Red Hat Enterprise Linux Client (v. 7) java-11-openjdk 11.0.19.0.7-1.el7_9, java-1.8.0-openjdk 1.8.0.372.b07-1.el7_9, java-11-openjdk-headless 11.0.19.0.7-1.el7_9, java-1.8.0-openjdk-headless 1.8.0.372.b07-1.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) java-11-openjdk-src 11.0.19.0.7-1.el7_9, java-11-openjdk-demo 11.0.19.0.7-1.el7_9, java-11-openjdk-jmods 11.0.19.0.7-1.el7_9, java-11-openjdk-javadoc 11.0.19.0.7-1.el7_9, java-1.8.0-openjdk-src 1.8.0.372.b07-1.el7_9, java-1.8.0-openjdk-demo 1.8.0.372.b07-1.el7_9, +5 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) java-11-openjdk-src 11.0.19.0.7-1.el7_9, java-11-openjdk-demo 11.0.19.0.7-1.el7_9, java-11-openjdk-jmods 11.0.19.0.7-1.el7_9, java-11-openjdk-javadoc 11.0.19.0.7-1.el7_9, java-1.8.0-openjdk-src 1.8.0.372.b07-1.el7_9, java-1.8.0-openjdk-demo 1.8.0.372.b07-1.el7_9, +5 more
    fixed: vendor fix RHSA-2023:1904
  • Red Hat Enterprise Linux CRB EUS (v.8.4) java-17-openjdk-fastdebug 17.0.7.0.7-1.el8_4, java-17-openjdk-slowdebug 17.0.7.0.7-1.el8_4, java-11-openjdk-fastdebug 11.0.19.0.7-1.el8_4, java-11-openjdk-slowdebug 11.0.19.0.7-1.el8_4, java-17-openjdk-src-fastdebug 17.0.7.0.7-1.el8_4, java-17-openjdk-src-slowdebug 17.0.7.0.7-1.el8_4, +34 more
    fixed: vendor fix RHSA-2023:1907
  • Red Hat Enterprise Linux Server (v. 7) java-11-openjdk 11.0.19.0.7-1.el7_9, java-1.8.0-openjdk 1.8.0.372.b07-1.el7_9, java-11-openjdk-headless 11.0.19.0.7-1.el7_9, java-1.8.0-openjdk-headless 1.8.0.372.b07-1.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) java-11-openjdk-src 11.0.19.0.7-1.el7_9, java-11-openjdk-demo 11.0.19.0.7-1.el7_9, java-11-openjdk-jmods 11.0.19.0.7-1.el7_9, java-11-openjdk-javadoc 11.0.19.0.7-1.el7_9, java-1.8.0-openjdk-src 1.8.0.372.b07-1.el7_9, java-1.8.0-openjdk-demo 1.8.0.372.b07-1.el7_9, +5 more Red Hat Enterprise Linux Workstation (v. 7) java-11-openjdk 11.0.19.0.7-1.el7_9, java-1.8.0-openjdk 1.8.0.372.b07-1.el7_9, java-11-openjdk-headless 11.0.19.0.7-1.el7_9, java-1.8.0-openjdk-headless 1.8.0.372.b07-1.el7_9 Red Hat Enterprise Linux Workstation Optional (v. 7) java-11-openjdk-src 11.0.19.0.7-1.el7_9, java-11-openjdk-demo 11.0.19.0.7-1.el7_9, java-11-openjdk-jmods 11.0.19.0.7-1.el7_9, java-11-openjdk-javadoc 11.0.19.0.7-1.el7_9, java-1.8.0-openjdk-src 1.8.0.372.b07-1.el7_9, java-1.8.0-openjdk-demo 1.8.0.372.b07-1.el7_9, +5 more
    fixed: vendor fix RHSA-2023:1904

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.42% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
bitnami java
<1.8.0
>=1.9.0, <8.0.371
>=9.0.0, <11.0.19
>=12.0.0, <17.0.7
1.8.0
8.0.371
11.0.19
17.0.7
bitnami java-min
<1.8.0
>=1.9.0, <8.0.371
>=9.0.0, <11.0.19
>=12.0.0, <17.0.7
1.8.0
8.0.371
11.0.19
17.0.7
bitnami jre
<1.8.0
>=1.9.0, <8.0.371
>=9.0.0, <11.0.19
>=12.0.0, <17.0.7
1.8.0
8.0.371
11.0.19
17.0.7

Affected products

  • Oracle Corporation Java SE JDK and JRE

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Adjust CPEs for Java components to more accurately reflect affected version ranges.