Skip to main content
Public proof of conceptFix available

CVE-2023-21939

A public proof of concept exists; no exploitation attested.

  • Published2023-04-18
  • Fixed in8

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Swing). Supported versions that are affected are Oracle Java SE: 8u361, 8u361-perf, 11.0.18, 17.0.6, 20; Oracle GraalVM Enterprise Edition: 20.3.9, 21.3.5 and 22.3.1. Easily exploitable vulnerability allows unauthenticated attacker with network access via HTTP to compromise Oracle Java SE, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of 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.3 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Timeline

dates in UTC
  1. 2023-04-1820:15CVE publishedNVD
  2. 2026-10-2319:23First public proof of conceptPoC-in-GitHub

Versions per branch

NVD
Java (Oracle JDK)
BranchAffectedFixed in
8.x< 88
11.x≥ 11, ≤ 11.0.18no fix published
17.x≥ 17, ≤ 17.0.6no fix published
8.x= 8no fix published
20.x= 20no fix published
Java (Oracle JDK)
BranchAffectedFixed in
1.8= 1.8.0no fix published
11.0= 11.0.18no fix published
17.0= 17.0.6no fix published
20.x= 20no fix published
Java (Oracle JDK)
BranchAffectedFixed in
1.8= 1.8.0no fix published
11.0= 11.0.18no fix published
17.0= 17.0.6no fix published
20.x= 20no fix published

10 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As oracle, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Oracle Corporation Java SE JDK and JRE
    Affected
    • = Oracle Java SE:8u361no fix stated
    • = Oracle Java SE:8u361-perfno fix stated
    • = Oracle Java SE:11.0.18no fix stated
    • = Oracle Java SE:17.0.6no fix stated
    • = Oracle Java SE:20no fix stated
    • = Oracle GraalVM Enterprise Edition:20.3.9no fix stated
    • = Oracle GraalVM Enterprise Edition:21.3.5no fix stated
    • = Oracle GraalVM Enterprise Edition:22.3.1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-06-21

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • java-1_8_0-ibmSUSE:OpenStack Cloud Crowbar 9all versions · fixed in 1.8.0_sr8.5-30.108.1
  • java-1_8_0-ibmSUSE:OpenStack Cloud 9all versions · fixed in 1.8.0_sr8.5-30.108.1
  • java-1_8_0-ibmSUSE:Linux Enterprise Software Development Kit 12 SP5all versions · fixed in 1.8.0_sr8.5-30.108.1
  • java-1_8_0-ibmSUSE:Linux Enterprise Server for SAP Applications 15 SP3all versions · fixed in 1.8.0_sr8.5-150000.3.74.1
  • java-1_8_0-ibmSUSE:Linux Enterprise Server for SAP Applications 15 SP2all versions · fixed in 1.8.0_sr8.5-150000.3.74.1
  • java-1_8_0-ibmSUSE:Linux Enterprise Server for SAP Applications 15 SP1all versions · fixed in 1.8.0_sr8.5-150000.3.74.1
  • java-1_8_0-ibmSUSE:Linux Enterprise Server for SAP Applications 12 SP5all versions · fixed in 1.8.0_sr8.5-30.108.1
  • java-1_8_0-ibmSUSE:Linux Enterprise Server for SAP Applications 12 SP4all versions · fixed in 1.8.0_sr8.5-30.108.1

179 more package ranges on OSV.dev

Vendor advisories

  • CVE-2023-21939 Red Hat Product Security2,401 products fixed · 51 known affected

    OpenJDK: Swing HTML parsing issue (8296832)

    Linux as a component of Red Hat build of OpenJDK 1.8 · Windows as a component of Red Hat build of OpenJDK 1.8 · Linux as a component of Red Hat build of OpenJDK 11 · +48 more

  • RHSA-2023:4160 Red Hat Product Security38 products fixed

    Red Hat Security Advisory: java-1.8.0-ibm security update

  • RHSA-2023:4103 Red Hat Product Security22 products fixed

    Red Hat Security Advisory: java-1.8.0-ibm security update

  • RHSA-2023:1903 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenJDK 8u372 Security Update for Portable Linux Builds

  • RHSA-2023:1912 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenJDK 8u372 Windows Security Update

  • RHSA-2023:1907 Red Hat Product Security106 products fixed

    Red Hat Security Advisory: java-1.8.0-openjdk security update

24 more advisories

Full record on NVD

Fix

  1. Update Java (Oracle JDK) to 8
  2. Vendor fix Red Hat Product Security RHSA-2023:4160 · 38 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 All running instances of IBM Java must be restarted for this update to take effect.
  3. Vendor fix Red Hat Product Security RHSA-2023:1903 · 1 productFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2023:1907 · 106 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 All running instances of OpenJDK Java must be restarted for this update to take effect.

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published
2023-04-18
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-xfrf-5cgw-f964

Frequently asked questions

What is CVE-2023-21939?

Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Swing). Supported versions that are affected are Oracle Java SE: 8u361, 8u361-perf, 11.0.18, 17.0.6, 20; Oracle GraalVM Enterprise Edition: 20.3.9, 21.3.5 and 22.3.1. Easily exploitable vulnerability allows unauthenticated attacker with network access via HTTP to compromise Oracle Java SE, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of 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.3 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Is CVE-2023-21939 actively exploited?

Active exploitation of CVE-2023-21939 has not been confirmed. Its EPSS score was 2.5% on 2026-11-24, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-21939?

CVE-2023-21939 has a CVSS v3 base score of 5.3 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.

Running Java (Oracle JDK)? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record