CVE-2012-0507 Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution

Exploited in the wild Critical 9.8 Published Updated

Remote attackers can bypass Java sandbox restrictions or crash the JVM via a type confusion flaw in the Concurrency component.

Exploited in the wild
Since 3 Mar 2022
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-0507?

CVE-2012-0507 is a critical vulnerability in Debian Debian Linux, published on 7 Jun 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Update 30 and earlier, and 5.0 Update 33 and earlier allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors related to Concurrency. NOTE: the previous information was obtained from the February 2012 Oracle CPU. Oracle has not commented on claims from a downstream vendor and third party researchers that this issue occurs because the AtomicReferenceArray class implementation does not ensure that the array is of the Object[] type, which allows attackers to cause a denial of service (JVM crash) or bypass Java sandbox restrictions. NOTE: this issue was originally mapped to CVE-2011-3571, but that identifier was already assigned to a different issue.

Weakness: CWE-843

Which versions are affected by CVE-2012-0507?

It affects 7 products.

Products include Debian Debian Linux, Oracle Jre, Sun Jre, Suse Linux Enterprise Desktop, Suse Linux Enterprise Java, Suse Linux Enterprise Server and 1 more.

How do I fix CVE-2012-0507?

Apply the vendor's patch. US federal agencies must fix it by 24 Mar 2022.

Is CVE-2012-0507 being exploited?

Yes. Attackers have exploited CVE-2012-0507 in the wild since at least 3 Mar 2022, including in ransomware campaigns.

Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-43xj-964v-hcjf.

Is CVE-2012-0507 in your software?

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

Check your SBOMs for free