Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution
CVE-2012-0507 is a high-severity access of resource using incompatible type vulnerability in JRE from Sun Microsystems, with a CVSS 2.0 base score of 10.0 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected JRE versions: 1.5.0; 1.6.0. The record does not name a fixed version, so check the vendor advisory. CISA added it to the Known Exploited Vulnerabilities catalogue on March 3, 2022, which means attacks have been observed in the wild, including in ransomware campaigns.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Check which version of JRE you run against the affected versions below, and install the vendor's latest release.
- CISA's required action: Apply updates per vendor instructions.
- Read the advisory on oracle.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Sun Microsystems | JRE | 1.5.0; 1.6.0 | Not stated |
| Debian | Debian Linux | 6.0; 7.0 | Not stated |
| SUSE | Linux Enterprise Desktop | 10 | Not stated |
| SUSE | Linux Enterprise Java | 10; 11 | Not stated |
| SUSE | Linux Enterprise Server | 10; 11 | Not stated |
| SUSE | Linux Enterprise Software Development Kit | 11 | Not stated |
Version data comes from NVD's product matching. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Access vector
- NetworkCan be exploited remotely over a network.
- Access complexity
- LowNo special conditions are needed.
- Authentication
- NoneNo login is needed.
- Confidentiality
- CompleteAll data can be read.
- Integrity
- CompleteAny data can be modified.
- Availability
- CompleteThe system can be shut down completely.
Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 9.8 | Critical | CISA (ADP) |
| CVSS 2.0 | 10.0 | High | NVD |
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: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Access of Resource Using Incompatible Type
The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
More Access of Resource Using Incompatible Type vulnerabilities (CWE-843)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: active, automatable: yes, technical impact: total).
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- Deadline for US federal agencies to remediate, set by CISA.
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- krebsonsecurity.com/2012/03/new-java-attack-rolled-into-exploit-packs/Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2012-05/msg00009.htmlIssue Tracking, Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2012-05/msg00010.htmlMailing List, Third Party Advisory
- marc.info/?l=bugtraq&m=133364885411663&w=2Third Party Advisory
- marc.info/?l=bugtraq&m=133365109612558&w=2Third Party Advisory
- marc.info/?l=bugtraq&m=133847939902305&w=2Third Party Advisory
- marc.info/?l=bugtraq&m=134254866602253&w=2Third Party Advisory
- marc.info/?l=bugtraq&m=134254957702612&w=2Third Party Advisory
- rhn.redhat.com/errata/RHSA-2012-0508.htmlThird Party Advisory
- rhn.redhat.com/errata/RHSA-2012-0514.htmlThird Party Advisory
- rhn.redhat.com/errata/RHSA-2013-1455.htmlThird Party Advisory
- debian.org/security/2012/dsa-2420Mailing List, Third Party Advisory
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0507US Government Resource
Other references
- bugzilla.redhat.com/show_bug.cgi?id=788994Issue Tracking
Recent Access of Resource Using Incompatible Type vulnerabilities
- 8.8 High severity
Adobe Flash Player Remote Code Execution Exploited
Spotted an error? Tell us.