CVE-2012-4820: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-jfrg-75v5-493f
Published
Advisory Summary

CVE-2012-4820 is a HIGH security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2012-4820 at a Glance

CVE Identifier CVE-2012-4820
GHSA Identifier GHSA-jfrg-75v5-493f
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2012-4820

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2012-4820, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Unspecified vulnerability in the JRE component in IBM Java 7 SR2 and earlier, Java 6.0.1 SR3 and earlier, Java 6 SR11 and earlier, Java 5 SR14 and earlier, and Java 142 SR13 FP13 and earlier; as used in IBM Rational Host On-Demand, Rational Change, Tivoli Monitoring, Smart Analytics System 5600, Tivoli Remote Control 5.1.2, WebSphere Real Time, Lotus Notes & Domino, Tivoli Storage Productivity Center, and Service Deliver Manager; and other products from other vendors such as Red Hat, when running under a security manager, allows remote attackers to gain privileges by modifying or removing the security manager via vectors related to "insecure use of the java.lang.reflect.Method invoke() method."

References

NVD — CVE-2012-4820 NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-4820
exchange.xforce.ibmcloud.com/vulnerabilities/787... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/78764
www-304.ibm.com/support/docview.wss WEB
https://www-304.ibm.com/support/docview.wss?uid=swg21616546
rhn.redhat.com/errata/rhsa-2012-14... WEB
http://rhn.redhat.com/errata/RHSA-2012-1465.html
rhn.redhat.com/errata/rhsa-2012-14... WEB
http://rhn.redhat.com/errata/RHSA-2012-1466.html
rhn.redhat.com/errata/rhsa-2012-14... WEB
http://rhn.redhat.com/errata/RHSA-2012-1467.html
rhn.redhat.com/errata/rhsa-2013-14... WEB
http://rhn.redhat.com/errata/RHSA-2013-1455.html
rhn.redhat.com/errata/rhsa-2013-14... WEB
http://rhn.redhat.com/errata/RHSA-2013-1456.html
seclists.org/bugtraq/2012/sep/38 WEB
http://seclists.org/bugtraq/2012/Sep/38
secunia.com/advisories/51326 WEB
http://secunia.com/advisories/51326
secunia.com/advisories/51327 WEB
http://secunia.com/advisories/51327
secunia.com/advisories/51328 WEB
http://secunia.com/advisories/51328
secunia.com/advisories/51393 WEB
http://secunia.com/advisories/51393
secunia.com/advisories/51634 WEB
http://secunia.com/advisories/51634
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg1IV29654
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg21615705
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg21615800
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg21616490
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg21616594
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg21616616
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg21616617
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg21616652
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg21616708
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg21621154
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=swg21631786
Software Security Information SECURITY
http://www.securityfocus.com/bid/55495

Frequently Asked Questions

What is CVE-2012-4820?
CVE-2012-4820 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2012-4820?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2012-4820?
CVE-2012-4820 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2012-4820?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jfrg-75v5-493f",
  "modified" : "2022-05-14T00:56:19Z",
  "published" : "2022-05-14T00:56:19Z",
  "aliases" : [ "CVE-2012-4820" ],
  "details" : "Unspecified vulnerability in the JRE component in IBM Java 7 SR2 and earlier, Java 6.0.1 SR3 and earlier, Java 6 SR11 and earlier, Java 5 SR14 and earlier, and Java 142 SR13 FP13 and earlier; as used in IBM Rational Host On-Demand, Rational Change, Tivoli Monitoring, Smart Analytics System 5600, Tivoli Remote Control 5.1.2, WebSphere Real Time, Lotus Notes & Domino, Tivoli Storage Productivity Center, and Service Deliver Manager; and other products from other vendors such as Red Hat, when running under a security manager, allows remote attackers to gain privileges by modifying or removing the security manager via vectors related to \"insecure use of the java.lang.reflect.Method invoke() method.\"",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-4820"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/78764"
  }, {
    "type" : "WEB",
    "url" : "https://www-304.ibm.com/support/docview.wss?uid=swg21616546"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2012-1465.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2012-1466.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2012-1467.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-1455.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-1456.html"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/bugtraq/2012/Sep/38"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/51326"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/51327"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/51328"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/51393"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/51634"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg1IV29654"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21615705"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21615800"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21616490"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21616594"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21616616"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21616617"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21616652"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21616708"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21621154"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21631786"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/55495"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2013-01-11T00:55:00Z"
  }
}