CVE-2012-6031: Software Security Vulnerability Vulnerability
MODERATECVE-2012-6031 is a MODERATE security vulnerability vulnerability (CWE-20: Improper Input Validation) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.. Remediation is available in the latest vendor maintenance releases.
CVE-2012-6031 at a Glance
How to Fix CVE-2012-6031
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.
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-6031, 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 CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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
References
Frequently Asked Questions
What is CVE-2012-6031?
Which Software versions are affected?
What version fixes CVE-2012-6031?
What CWE is associated with CVE-2012-6031?
How can I check Maven dependencies for CVE-2012-6031?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jvrg-jfpg-gqx8",
"modified" : "2022-05-17T01:38:03Z",
"published" : "2022-05-17T01:38:03Z",
"aliases" : [ "CVE-2012-6031" ],
"details" : "The do_tmem_get function in the Transcendent Memory (TMEM) in Xen 4.0, 4.1, and 4.2 allow local guest OS users to cause a denial of service (CPU hang and host crash) via unspecified vectors related to a spinlock being held in the \"bad_copy error path.\" NOTE: this issue was originally published as part of CVE-2012-3497, which was too general; CVE-2012-3497 has been SPLIT into this ID and others.",
"severity" : [ ],
"affected" : [ ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-6031"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/78268"
}, {
"type" : "WEB",
"url" : "https://security.gentoo.org/glsa/201604-03"
}, {
"type" : "WEB",
"url" : "http://lists.xen.org/archives/html/xen-announce/2012-09/msg00006.html"
}, {
"type" : "WEB",
"url" : "http://osvdb.org/85199"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/50472"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/55082"
}, {
"type" : "WEB",
"url" : "http://security.gentoo.org/glsa/glsa-201309-24.xml"
}, {
"type" : "WEB",
"url" : "http://wiki.xen.org/wiki/Security_Announcements#XSA-15_multiple_TMEM_hypercall_vulnerabilities"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/09/05/8"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/55410"
}, {
"type" : "WEB",
"url" : "http://www.securitytracker.com/id?1027482"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : false,
"github_reviewed_at" : null,
"nvd_published_at" : "2012-11-23T20:55:00Z"
}
}