CVE-2012-5616: Cloudstack Security Vulnerability Vulnerability
LOWCVE-2012-5616 is a LOW security vulnerability vulnerability (General Security Weakness) affecting Cloudstack libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.
CVE-2012-5616 at a Glance
How to Fix CVE-2012-5616
To remediate this vulnerability, upgrade all affected Cloudstack dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloudstack</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.cloudstack
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2012-5616, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.cloudstack
Analyze the terminal output to locate any version of Cloudstack 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 -Dincludes=org.apache.cloudstack 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 Cloudstack, 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
CVE-2012-5616 Affected Cloudstack Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.cloudstack:cloudstack
|
Maven |
|
|
References
Frequently Asked Questions
What is CVE-2012-5616?
Which Cloudstack versions are affected?
What version fixes CVE-2012-5616?
Is cloudstack affected?
What CWE is associated with CVE-2012-5616?
How can I check Maven dependencies for CVE-2012-5616?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3pqh-mpvw-5fr2",
"modified" : "2025-04-11T04:06:39Z",
"published" : "2022-05-17T05:12:26Z",
"aliases" : [ "CVE-2012-5616" ],
"details" : "Apache CloudStack 4.0.0-incubating and Citrix CloudPlatform (formerly Citrix CloudStack) before 3.0.6 stores sensitive information in the log4j.conf log file, which allows local users to obtain (1) the SSH private key as recorded by the createSSHKeyPair API, (2) the password of an added host as recorded by the AddHost API, or the password of an added VM as recorded by the (3) DeployVM or (4) ResetPasswordForVM API.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.cloudstack:cloudstack"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-5616"
}, {
"type" : "WEB",
"url" : "http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-users/201301.mbox/%3C1BD2169F-BBFE-4E27-B50F-F17D7D08B565%40stratosec.co%3E"
}, {
"type" : "WEB",
"url" : "http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-users/201301.mbox/%3C1BD2169F-BBFE-4E27-B50F-F17D7D08B565@stratosec.co%3E"
}, {
"type" : "WEB",
"url" : "http://osvdb.org/89070"
}, {
"type" : "WEB",
"url" : "http://osvdb.org/89146"
}, {
"type" : "WEB",
"url" : "http://osvdb.org/89147"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2013/Jan/65"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/51366"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/51821"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/51827"
}, {
"type" : "WEB",
"url" : "http://support.citrix.com/article/CTX136163"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/57225"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/57259"
}, {
"type" : "WEB",
"url" : "http://www.securitytracker.com/id?1027978"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : false,
"github_reviewed_at" : null,
"nvd_published_at" : "2013-01-22T23:55:00Z"
}
}