CVE-2022-21541 json
Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot).
published 2022-07-19 4 y ago modified 2026-09-08 2 mo ago also BIT-java-2022-21541 , BIT-java-min-2022-21541 , BIT-jre-2022-21541 , EUVD-2022-26765
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 86%
- 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: 7u343, 8u333, 11.0.15.1, 17.0.3.1, 18.0.1.1; Oracle GraalVM Enterprise Edition: 20.3.6, 21.3.2 and 22.1.0. 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 creation, deletion or modification access to critical data or 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 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
Patch / fix
- bitnami java 1.7.0, 1.8.0, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- bitnami java-min 1.7.0, 1.8.0, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- bitnami jre 1.7.0, 1.8.0, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- oracle graalvm 20.3.7, 21.3.3, 22.1.1
- oracle graalvm_enterprise 20.3.7, 21.3.3, 22.1.1
- oracle java_se 1.7.0_351, 1.8.0_341, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- oracle jdk 1.7.0_351, 1.8.0_341, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- oracle jre 1.7.0_351, 1.8.0_341, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- sun java 1.7.0_351, 1.8.0_341, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- sun java_se 1.7.0_351, 1.8.0_341, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- sun jdk 1.7.0_351, 1.8.0_341, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- sun jre 1.7.0_351, 1.8.0_341, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- oracle openjdk 1.7.0_351, 1.8.0_341, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- sun openjdk 1.7.0_351, 1.8.0_341, 7.0.351, 8.0.341, 11.0.16, 17.0.4, 18.0.2
- openjdk-17 Debian 12 17.0.4+8-1
debian advisories DEBIAN-CVE-2022-21541
- openjdk-8 Ubuntu 18.04 LTS 8u342-b07-0ubuntu1~18.04
- openjdk-8 Ubuntu 20.04 LTS 8u342-b07-0ubuntu1~20.04
- openjdk-8 Ubuntu 22.04 LTS 8u342-b07-0ubuntu1~22.04
- openjdk-17 Ubuntu 18.04 LTS 17.0.4+8-1~18.04
- openjdk-17 Ubuntu 20.04 LTS 17.0.4+8-1~20.04
- openjdk-17 Ubuntu 22.04 LTS 17.0.4+8-1~22.04
- openjdk-18 Ubuntu 22.04 LTS 18.0.2+9-2~22.04
- openjdk-lts Ubuntu 18.04 LTS 11.0.16+8-0ubuntu1~18.04
ubuntu advisories UBUNTU-CVE-2022-21541
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-17-openjdk RHEL 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-src RHEL 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-demo RHEL 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-jmods RHEL 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-javadoc RHEL 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-headless RHEL 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-fastdebug RHEL 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-slowdebug RHEL 9 1:17.0.4.0.8-2.el9_0
red hat advisories RHSA-2022:5736RHSA-2022:5726RHSA-2022:5709RHSA-2022:5697RHSA-2022:5681RHSA-2022:5696
- java-1_8_0-ibm SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +13 more 1.8.0_sr7.20-150000.3.65.1
- java-1_8_0-ibm SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 1.8.0_sr7.15-30.96.1
- java-1_8_0-openj9 openSUSE Leap 15.4, openSUSE Leap 15.3 1.8.0.345-150200.3.24.1
- java-1_8_0-ibm SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +13 more 1.8.0_sr7.11-150000.3.62.1
- java-1_8_0-ibm SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 1.8.0_sr7.11-30.93.1
- java-1_7_1-ibm SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 1.7.1_sr5.15-38.74.1
- java-1_8_0-openjdk SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +13 more 1.8.0.345-150000.3.70.1
- java-1_8_0-openjdk SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +5 more 1.8.0.345-27.78.1
suse advisories SUSE-SU-2022:4166-1SUSE-SU-2022:3152-1SUSE-SU-2022:3092-1SUSE-SU-2022:2949-1SUSE-SU-2022:2899-1SUSE-SU-2022:2898-1
- java-11-openj9 Package Hub 15 SP6, openSUSE Leap 15.6 11.0.26.0-bp156.4.3.1
- java-13-openjdk openSUSE Tumbleweed 13.0.12.0-1.1
- java-15-openjdk openSUSE Tumbleweed 15.0.8.0-1.1
- java-18-openjdk openSUSE Tumbleweed 18.0.2.0-1.1
- java-11-openjdk openSUSE Tumbleweed 11.0.16.0-1.1
- java-17-openjdk openSUSE Tumbleweed 17.0.4.0-1.1
- java-1_8_0-openjdk openSUSE Tumbleweed 1.8.0.345-1.1
opensuse advisories openSUSE-SU-2025:0066-1openSUSE-SU-2024:12201-1openSUSE-SU-2024:12202-1openSUSE-SU-2024:12203-1openSUSE-SU-2024:12207-1openSUSE-SU-2024:12208-1
- java-17-openjdk AlmaLinux 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-src AlmaLinux 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-demo AlmaLinux 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-jmods AlmaLinux 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-javadoc AlmaLinux 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-headless AlmaLinux 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-fastdebug AlmaLinux 9 1:17.0.4.0.8-2.el9_0
- java-17-openjdk-slowdebug AlmaLinux 9 1:17.0.4.0.8-2.el9_0
almalinux advisories ALSA-2022:5736ALSA-2022:5695ALSA-2022:5696ALSA-2022:5709ALSA-2022:5683
- java-17-openjdk Rocky Linux 8 1:17.0.4.0.8-2.el8_6
- java-1.8.0-openjdk Rocky Linux 8 1:1.8.0.342.b07-2.el8_6
- java-11-openjdk Rocky Linux 8 1:11.0.16.0.8-1.el8_6
rocky linux advisories RLSA-2022:5726RLSA-2022:5696RLSA-2022:5683
- openjdk8 Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 8.345.01-r0
- openjdk11 Alpine 3.15 11.0.17_p8-r0
- openjdk11 Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 11.0.16_p8-r0
- openjdk13 Alpine 3.18, Alpine 3.17, Alpine 3.16 13.0.12_p4-r0
- openjdk15 Alpine 3.18, Alpine 3.17, Alpine 3.16 15.0.8_p4-r0
- openjdk17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 17.0.4_p8-r0
alpine advisories ALPINE-CVE-2022-21541
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-2022-21541 updated cvss 5.9
OpenJDK: improper restriction of MethodHandle.invokeBasic() (Hotspot, 8281866)
-
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 moreaffected: no fix planned “Out of support scope”
-
Red Hat Build of OpenJDK 8u342fixed: vendor fix RHSA-2022:5754
-
Red Hat Build of OpenJDK 11.0.16fixed: vendor fix RHSA-2022:5755
-
Red Hat Build of OpenJDK 17.0.4fixed: vendor fix RHSA-2022:5757
-
Red Hat CodeReady Linux Builder (v. 9) java-17-openjdk-fastdebug 17.0.4.0.8-2.el9_0, java-17-openjdk-slowdebug 17.0.4.0.8-2.el9_0, java-11-openjdk-fastdebug 11.0.16.0.8-1.el9_0, java-11-openjdk-slowdebug 11.0.16.0.8-1.el9_0, java-17-openjdk-src-fastdebug 17.0.4.0.8-2.el9_0, java-17-openjdk-src-slowdebug 17.0.4.0.8-2.el9_0, +32 morefixed: vendor fix RHSA-2022:5709
-
Red Hat Enterprise Linux AppStream (v. 8) java-17-openjdk 17.0.4.0.8-2.el8_6, java-11-openjdk 11.0.16.0.8-1.el8_6, java-17-openjdk-src 17.0.4.0.8-2.el8_6, java-11-openjdk-src 11.0.16.0.8-1.el8_6, java-17-openjdk-demo 17.0.4.0.8-2.el8_6, java-1.8.0-openjdk 1.8.0.342.b07-2.el8_6, +17 morefixed: vendor fix RHSA-2022:5696
-
Red Hat Enterprise Linux AppStream (v. 9) java-17-openjdk 17.0.4.0.8-2.el9_0, java-11-openjdk 11.0.16.0.8-1.el9_0, java-17-openjdk-src 17.0.4.0.8-2.el9_0, java-11-openjdk-src 11.0.16.0.8-1.el9_0, java-17-openjdk-demo 17.0.4.0.8-2.el9_0, java-1.8.0-openjdk 1.8.0.342.b07-1.el9_0, +16 morefixed: vendor fix RHSA-2022:5709
-
Red Hat Enterprise Linux AppStream E4S (v. 8.1) java-11-openjdk 11.0.16.0.8-1.el8_1, java-11-openjdk-src 11.0.16.0.8-1.el8_1, java-1.8.0-openjdk 1.8.0.342.b07-1.el8_1, java-11-openjdk-demo 11.0.16.0.8-1.el8_1, java-11-openjdk-jmods 11.0.16.0.8-1.el8_1, java-11-openjdk-javadoc 11.0.16.0.8-1.el8_1, +8 morefixed: vendor fix RHSA-2022:5701
show 6 moreshow fewer
-
Red Hat Enterprise Linux AppStream EUS (v. 8.2) java-11-openjdk 11.0.16.0.8-1.el8_2, java-11-openjdk-src 11.0.16.0.8-1.el8_2, java-1.8.0-openjdk 1.8.0.342.b07-1.el8_2, java-11-openjdk-demo 11.0.16.0.8-1.el8_2, java-11-openjdk-jmods 11.0.16.0.8-1.el8_2, java-11-openjdk-javadoc 11.0.16.0.8-1.el8_2, +9 morefixed: vendor fix RHSA-2022:5700
-
Red Hat Enterprise Linux AppStream EUS (v.8.4) java-11-openjdk 11.0.16.0.8-1.el8_4, java-11-openjdk-src 11.0.16.0.8-1.el8_4, java-1.8.0-openjdk 1.8.0.342.b07-1.el8_4, java-11-openjdk-demo 11.0.16.0.8-1.el8_4, java-11-openjdk-jmods 11.0.16.0.8-1.el8_4, java-11-openjdk-javadoc 11.0.16.0.8-1.el8_4, +9 morefixed: vendor fix RHSA-2022:5697
-
Red Hat Enterprise Linux Client (v. 7) java-11-openjdk 11.0.16.0.8-1.el7_9, java-1.8.0-openjdk 1.8.0.342.b07-1.el7_9, java-11-openjdk-headless 11.0.16.0.8-1.el7_9, java-1.8.0-openjdk-headless 1.8.0.342.b07-1.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) java-11-openjdk-src 11.0.16.0.8-1.el7_9, java-11-openjdk-demo 11.0.16.0.8-1.el7_9, java-11-openjdk-jmods 11.0.16.0.8-1.el7_9, java-11-openjdk-javadoc 11.0.16.0.8-1.el7_9, java-1.8.0-openjdk-src 1.8.0.342.b07-1.el7_9, java-1.8.0-openjdk-demo 1.8.0.342.b07-1.el7_9, +5 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) java-11-openjdk-src 11.0.16.0.8-1.el7_9, java-11-openjdk-demo 11.0.16.0.8-1.el7_9, java-11-openjdk-jmods 11.0.16.0.8-1.el7_9, java-11-openjdk-javadoc 11.0.16.0.8-1.el7_9, java-1.8.0-openjdk-src 1.8.0.342.b07-1.el7_9, java-1.8.0-openjdk-demo 1.8.0.342.b07-1.el7_9, +5 morefixed: vendor fix RHSA-2022:5698
-
Red Hat Enterprise Linux CRB (v. 8) java-17-openjdk-fastdebug 17.0.4.0.8-2.el8_6, java-17-openjdk-slowdebug 17.0.4.0.8-2.el8_6, java-11-openjdk-fastdebug 11.0.16.0.8-1.el8_6, java-11-openjdk-slowdebug 11.0.16.0.8-1.el8_6, java-17-openjdk-src-fastdebug 17.0.4.0.8-2.el8_6, java-17-openjdk-src-slowdebug 17.0.4.0.8-2.el8_6, +34 morefixed: vendor fix RHSA-2022:5696
-
Red Hat Enterprise Linux CRB EUS (v.8.4) java-11-openjdk-fastdebug 11.0.16.0.8-1.el8_4, java-11-openjdk-slowdebug 11.0.16.0.8-1.el8_4, java-11-openjdk-src-fastdebug 11.0.16.0.8-1.el8_4, java-11-openjdk-src-slowdebug 11.0.16.0.8-1.el8_4, java-1.8.0-openjdk-fastdebug 1.8.0.342.b07-1.el8_4, java-1.8.0-openjdk-slowdebug 1.8.0.342.b07-1.el8_4, +20 morefixed: vendor fix RHSA-2022:5697
-
Red Hat Enterprise Linux Server (v. 7) java-11-openjdk 11.0.16.0.8-1.el7_9, java-1.8.0-openjdk 1.8.0.342.b07-1.el7_9, java-11-openjdk-headless 11.0.16.0.8-1.el7_9, java-1.8.0-openjdk-headless 1.8.0.342.b07-1.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) java-11-openjdk-src 11.0.16.0.8-1.el7_9, java-11-openjdk-demo 11.0.16.0.8-1.el7_9, java-11-openjdk-jmods 11.0.16.0.8-1.el7_9, java-11-openjdk-javadoc 11.0.16.0.8-1.el7_9, java-1.8.0-openjdk-src 1.8.0.342.b07-1.el7_9, java-1.8.0-openjdk-demo 1.8.0.342.b07-1.el7_9, +5 more Red Hat Enterprise Linux Workstation (v. 7) java-11-openjdk 11.0.16.0.8-1.el7_9, java-1.8.0-openjdk 1.8.0.342.b07-1.el7_9, java-11-openjdk-headless 11.0.16.0.8-1.el7_9, java-1.8.0-openjdk-headless 1.8.0.342.b07-1.el7_9 Red Hat Enterprise Linux Workstation Optional (v. 7) java-11-openjdk-src 11.0.16.0.8-1.el7_9, java-11-openjdk-demo 11.0.16.0.8-1.el7_9, java-11-openjdk-jmods 11.0.16.0.8-1.el7_9, java-11-openjdk-javadoc 11.0.16.0.8-1.el7_9, java-1.8.0-openjdk-src 1.8.0.342.b07-1.el7_9, java-1.8.0-openjdk-demo 1.8.0.342.b07-1.el7_9, +5 morefixed: vendor fix RHSA-2022:5698
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
- total
- Assessed
- 2 y ago
Exploit prediction
2.88% chance of exploitation in the next 30 days, higher than 86% 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:N/I:H/A:N |
| OSV | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | java | <1.7.0 >=1.8.0, <1.8.0 >=7.0.0, <7.0.351 >=8.0.0, <8.0.341 >=9.0.0, <11.0.16 >=12.0.0, <17.0.4 >=18.0.0, <18.0.2 |
1.7.0 1.8.0 7.0.351 8.0.341 11.0.16 17.0.4 18.0.2 |
| bitnami | java-min | <1.7.0 >=1.8.0, <1.8.0 >=7.0.0, <7.0.351 >=8.0.0, <8.0.341 >=9.0.0, <11.0.16 >=12.0.0, <17.0.4 >=18.0.0, <18.0.2 |
1.7.0 1.8.0 7.0.351 8.0.341 11.0.16 17.0.4 18.0.2 |
| bitnami | jre | <1.7.0 >=1.8.0, <1.8.0 >=7.0.0, <7.0.351 >=8.0.0, <8.0.341 >=9.0.0, <11.0.16 >=12.0.0, <17.0.4 >=18.0.0, <18.0.2 |
1.7.0 1.8.0 7.0.351 8.0.341 11.0.16 17.0.4 18.0.2 |
Affected products
- Oracle Corporation Java SE JDK and JRE
References
-
oracle.com
/security-alerts/cpujul2022.html
patch, vendor-advisory, advisory
-
debian.org
/security/2022/dsa-5188
vendor-advisory, third-party-advisory, advisory
-
debian.org
/security/2022/dsa-5192
vendor-advisory, third-party-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/KO3DXNKZ4EU3UZBT6AAR4XRKCD73KLMO/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/JN3EVGR7FD3ZLV5SBTJXUIDCMSK4QUE2/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YULPNO3PAWMEQQZV2C54I3H3ZOXFZUTB/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/I5OZNAZJ4YHLOKRRRZSWRT5OJ25E4XLM/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/L3XPOTPPBZIPFBZHQE5E7OW6PDACUMCJ/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/H4YNJSJ64NPCNKFPNBYITNZU5H3L4D6L/
vendor-advisory, web
-
security.gentoo.org
/glsa/202401-25
vendor-advisory, web
-
security.netapp.com
/advisory/ntap-20220729-0009/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21541
web
Sources
- CVE List CVE-2022-21541
- NVD CVE-2022-21541
- OSV BIT-java-2022-21541
- OSV BIT-java-min-2022-21541
- OSV BIT-jre-2022-21541
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: Updated Java versions.