CVE-2022-3676 Memory corruption in Eclipse OpenJ9

Medium 6.5 Published Updated

Attackers can exploit missing runtime type checks in Eclipse OpenJ9 to access or modify memory via malicious bytecode, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-3676?

CVE-2022-3676 is a medium-severity memory corruption vulnerability in The Eclipse Foundation Eclipse OpenJ9, published on 24 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Eclipse Openj9 before version 0.35.0, interface calls can be inlined without a runtime type check. Malicious bytecode could make use of this inlining to access or modify memory via an incompatible type.

Weakness: CWE-843, CWE-20

Which versions are affected by CVE-2022-3676?

It affects 1 product.

Linux distribution packages (29)
java-1_8_0-ibm SUSE:Enterprise Storage 6All versions1.8.0_sr7.20-150000.3.68.1
java-1_8_0-ibm SUSE:Enterprise Storage 7All versions1.8.0_sr7.20-150000.3.68.1
java-1_8_0-ibm SUSE:Enterprise Storage 7.1All versions1.8.0_sr7.20-150000.3.68.1
java-1_8_0-ibm SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOSAll versions1.8.0_sr7.20-150000.3.68.1
java-1_8_0-ibm SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.8.0_sr7.20-150000.3.68.1
java-1_8_0-ibm SUSE:Linux Enterprise Module for Legacy 15 SP4All versions1.8.0_sr7.20-150000.3.68.1
java-1_7_1-ibm SUSE:Linux Enterprise Server 12 SP2-BCLAll versions1.7.1_sr5.15-38.77.1
java-1_8_0-ibm SUSE:Linux Enterprise Server 12 SP2-BCLAll versions1.8.0_sr7.20-30.102.1
java-1_7_1-ibm SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions1.7.1_sr5.15-38.77.1
java-1_8_0-ibm SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions1.8.0_sr7.20-30.102.1
java-1_7_1-ibm SUSE:Linux Enterprise Server 12 SP5All versions1.7.1_sr5.15-38.77.1
java-1_8_0-ibm SUSE:Linux Enterprise Server 12 SP5All versions1.8.0_sr7.20-30.102.1
java-1_8_0-ibm SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions1.8.0_sr7.20-150000.3.68.1
java-1_8_0-ibm SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions1.8.0_sr7.20-150000.3.68.1
java-1_8_0-ibm SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions1.8.0_sr7.20-150000.3.68.1
java-1_7_1-ibm SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions1.7.1_sr5.15-38.77.1
java-1_8_0-ibm SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions1.8.0_sr7.20-30.102.1
java-1_7_1-ibm SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.7.1_sr5.15-38.77.1
java-1_8_0-ibm SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.8.0_sr7.20-30.102.1
java-1_8_0-ibm SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions1.8.0_sr7.20-150000.3.68.1
java-1_8_0-ibm SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions1.8.0_sr7.20-150000.3.68.1
java-1_8_0-ibm SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions1.8.0_sr7.20-150000.3.68.1
java-1_7_1-ibm SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.7.1_sr5.15-38.77.1
java-1_8_0-ibm SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.8.0_sr7.20-30.102.1
java-1_7_1-ibm SUSE:OpenStack Cloud 9All versions1.7.1_sr5.15-38.77.1
java-1_8_0-ibm SUSE:OpenStack Cloud 9All versions1.8.0_sr7.20-30.102.1
java-1_7_1-ibm SUSE:OpenStack Cloud Crowbar 9All versions1.7.1_sr5.15-38.77.1
java-1_8_0-ibm SUSE:OpenStack Cloud Crowbar 9All versions1.8.0_sr7.20-30.102.1
java-1_8_0-ibm openSUSE:Leap 15.4All versions1.8.0_sr7.20-150000.3.68.1

Products include Eclipse Openj9.

How do I fix CVE-2022-3676?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-3676 being exploited?

There is no known exploitation of CVE-2022-3676 in the wild and no public exploit code.

Sources

Also known as GHSA-vw7j-6j6f-vm86, SUSE-SU-2022:4591-1, SUSE-SU-2022:4602-1, SUSE-SU-2023:0375-1.

Is CVE-2022-3676 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free