CVE-2012-2131: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-wvj2-94fg-jpr9
Published
Advisory Summary

CVE-2012-2131 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-2131 at a Glance

CVE Identifier CVE-2012-2131
GHSA Identifier GHSA-wvj2-94fg-jpr9
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-2131

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-2131, 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

Multiple integer signedness errors in crypto/buffer/buffer.c in OpenSSL 0.9.8v allow remote attackers to conduct buffer overflow attacks, and cause a denial of service (memory corruption) or possibly have unspecified other impact, via crafted DER data, as demonstrated by an X.509 certificate or an RSA public key. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-2110.

References

NVD — CVE-2012-2131 NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-2131
exchange.xforce.ibmcloud.com/vulnerabilities/750... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/75099
cvs.openssl.org/chngview WEB
http://cvs.openssl.org/chngview?cn=22479
kb.juniper.net/infocenter/index WEB
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00014.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00015.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00007.html
marc.info/ WEB
http://marc.info/?l=bugtraq&m=133728068926468&w=2
marc.info/ WEB
http://marc.info/?l=bugtraq&m=134039053214295&w=2
secunia.com/advisories/48895 WEB
http://secunia.com/advisories/48895
secunia.com/advisories/48956 WEB
http://secunia.com/advisories/48956
secunia.com/advisories/57353 WEB
http://secunia.com/advisories/57353
support.apple.com/kb/ht5784 WEB
http://support.apple.com/kb/HT5784
www-01.ibm.com/support/docview.wss WEB
http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004564
Software Security Information SECURITY
http://www.debian.org/security/2012/dsa-2454
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2012:064
www.openssl.org/news/secadv_2012042... WEB
http://www.openssl.org/news/secadv_20120424.txt
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2012/04/24/1
Software Security Information SECURITY
http://www.securityfocus.com/bid/53212
Software Security Information SECURITY
http://www.securitytracker.com/id?1026957
www.ubuntu.com/usn/usn-1428-1 WEB
http://www.ubuntu.com/usn/USN-1428-1

Frequently Asked Questions

What is CVE-2012-2131?
CVE-2012-2131 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-2131?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2012-2131?
CVE-2012-2131 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2012-2131?
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-wvj2-94fg-jpr9",
  "modified" : "2022-05-14T04:00:01Z",
  "published" : "2022-05-14T04:00:01Z",
  "aliases" : [ "CVE-2012-2131" ],
  "details" : "Multiple integer signedness errors in crypto/buffer/buffer.c in OpenSSL 0.9.8v allow remote attackers to conduct buffer overflow attacks, and cause a denial of service (memory corruption) or possibly have unspecified other impact, via crafted DER data, as demonstrated by an X.509 certificate or an RSA public key.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-2110.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-2131"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/75099"
  }, {
    "type" : "WEB",
    "url" : "http://cvs.openssl.org/chngview?cn=22479"
  }, {
    "type" : "WEB",
    "url" : "http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00014.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00015.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00007.html"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=133728068926468&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=134039053214295&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/48895"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/48956"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/57353"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT5784"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004564"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2012/dsa-2454"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2012:064"
  }, {
    "type" : "WEB",
    "url" : "http://www.openssl.org/news/secadv_20120424.txt"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/04/24/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/53212"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1026957"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1428-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2012-04-24T20:55:00Z"
  }
}