CVE-2020-27221 Memory corruption in Eclipse OpenJ9

Critical 9.8 Published Updated

A stack-based buffer overflow in Eclipse OpenJ9 during UTF-8 conversion allows attackers to execute arbitrary code or cause denial of service.

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

What is CVE-2020-27221?

CVE-2020-27221 is a critical memory corruption vulnerability in The Eclipse Foundation Eclipse OpenJ9, published on 21 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Eclipse OpenJ9 up to and including version 0.23, there is potential for a stack-based buffer overflow when the virtual machine or JNI natives are converting from UTF-8 characters to platform encoding.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2020-27221?

It affects 1 product.

Products include Eclipse Openj9.

How do I fix CVE-2020-27221?

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-2020-27221 being exploited?

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

Sources

Also known as GHSA-768g-gf3v-34vm.

Is CVE-2020-27221 in your software?

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

Check your SBOMs for free