CVE-2012-0507Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability
CVSS score
9.8
Critical
CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit probability (EPSS)
98.2%
98.2% chance of exploitation in the next 30 days, higher than 99.9% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 3 Mar 2022.
US federal deadline to fix: 24 Mar 2022.
Ransomware
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.
Source: NVD · CNA: secalert_us@oracle.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 3 Mar 2022.
US federal agencies must fix it by 24 Mar 2022. It's a sensible deadline for everyone else too.
CISA reports it has been used in ransomware attacks.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running sun Jre, SUSE Linux Enterprise Desktop, SUSE Linux Enterprise Java, SUSE Linux Enterprise Server, SUSE Linux Enterprise Software Development Kit and compare its version with the affected versions.
Apply the vendor's fix
The official record doesn't name a fixed version. The vendor's advisory describes the fix:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| sun Jre | 1.5.0 · 1.6.0 |
| Oracle Jre | 1.6.0 · 1.7.0 |
| Debian Debian Linux | 6.0 · 7.0 |
| SUSE Linux Enterprise Desktop | 10 |
| SUSE Linux Enterprise Java | 10 · 11 |
| SUSE Linux Enterprise Server | 10 · 11 |
| SUSE Linux Enterprise Software Development Kit | 11 |
Weakness
- CWE-843 type confusion
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2012-0507 being exploited?
Yes. CISA added CVE-2012-0507 to its Known Exploited Vulnerabilities catalog on 3 Mar 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 98.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2012-0507?
CVE-2012-0507 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
Sun Jre (1.5.0; 1.6.0), Oracle Jre (1.6.0; 1.7.0), Debian Debian Linux (6.0; 7.0), SUSE Linux Enterprise Desktop (10), SUSE Linux Enterprise Java (10; 11), SUSE Linux Enterprise Server (10; 11)
Is there a patch for CVE-2012-0507?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.oracle.com/technetwork/topics/security/javacpufeb2012-366318.html(Vendor Advisory)
- weblog.ikvm.net/PermaLink.aspx?guid=cd48169a-9405-4f63-9087-798c4a1866d3(Broken Link, Exploit)
- www.securityfocus.com/bid/52161(Broken Link, Exploit, Third Party Advisory)
- blogs.technet.com/b/mmpc/archive/2012/03/20/an-interesting-case-of-jre-sandbox-breach-cve-2012-0507.aspx(Broken Link, Third Party Advisory)
- krebsonsecurity.com/2012/03/new-java-attack-rolled-into-exploit-packs/(Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2012-05/msg00009.html(Issue Tracking, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2012-05/msg00010.html(Mailing List, Third Party Advisory)
- marc.info/?l=bugtraq&m=133364885411663&w=2(Third Party Advisory)
- marc.info/?l=bugtraq&m=133365109612558&w=2(Third Party Advisory)
- marc.info/?l=bugtraq&m=133847939902305&w=2(Third Party Advisory)
- marc.info/?l=bugtraq&m=134254866602253&w=2(Third Party Advisory)
- marc.info/?l=bugtraq&m=134254957702612&w=2(Third Party Advisory)
- rhn.redhat.com/errata/RHSA-2012-0508.html(Third Party Advisory)
- rhn.redhat.com/errata/RHSA-2012-0514.html(Third Party Advisory)
- rhn.redhat.com/errata/RHSA-2013-1455.html(Third Party Advisory)
- secunia.com/advisories/48589(Broken Link, Not Applicable)
- secunia.com/advisories/48692(Broken Link, Not Applicable)
- secunia.com/advisories/48915(Broken Link, Not Applicable)
- secunia.com/advisories/48948(Broken Link, Not Applicable)
- secunia.com/advisories/48950(Broken Link, Not Applicable)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.