CVE-2014-3596: Axis Improper Validation Of Certificates Vulnerability
MODERATECVE-2014-3596 is a MODERATE improper validation of certificates vulnerability (CWE-297: Improper Validation of Certificate with Host Mismatch) affecting Axis libraries in the Maven ecosystem. The issue involves improper validation of certificates in apache axis. Remediation is available in the latest vendor maintenance releases.
CVE-2014-3596 at a Glance
How to Fix CVE-2014-3596
To remediate this vulnerability, upgrade all affected Axis 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.axis</groupId>
<artifactId>axis</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>axis</groupId>
<artifactId>axis</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.axis
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2014-3596, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.axis
Analyze the terminal output to locate any version of Axis 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.axis 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-297: Improper Validation of Certificate with Host Mismatch, where the product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host. In Axis, 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-2014-3596 Affected Axis Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.axis:axis
|
Maven |
≤ 1.4
|
|
|
axis:axis
|
Maven |
≤ 1.4
|
|
References
Frequently Asked Questions
What is CVE-2014-3596?
Which Axis versions are affected?
What version fixes CVE-2014-3596?
Is axis affected?
What CWE is associated with CVE-2014-3596?
How can I check Maven dependencies for CVE-2014-3596?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r53v-vm87-f72c",
"modified" : "2024-03-01T20:29:59Z",
"published" : "2018-10-16T20:50:58Z",
"aliases" : [ "CVE-2014-3596" ],
"summary" : "Improper Validation of Certificates in apache axis",
"details" : "The getCN function in Apache Axis 1.4 and earlier does not properly verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a certificate with a subject that specifies a common name in a field that is not the CN field. NOTE: this issue exists because of an incomplete fix for CVE-2012-5784.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.axis:axis"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "axis:axis"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3596"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpujan2020.html"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200227173427/http://www.securityfocus.com/bid/69295"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20160815194947/http://www.securitytracker.com/id/1030745"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/de2af12dcaba653d02b03235327ca4aa930401813a3cced8e151d29c@%3Cjava-dev.axis.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/de2af12dcaba653d02b03235327ca4aa930401813a3cced8e151d29c%40%3Cjava-dev.axis.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/a308887782e05da7cf692e4851ae2bd429a038570cbf594e6631cc8d@%3Cjava-dev.axis.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/a308887782e05da7cf692e4851ae2bd429a038570cbf594e6631cc8d%40%3Cjava-dev.axis.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/8aa25c99eeb0693fc229ec87d1423b5ed5d58558618706d8aba1d832@%3Cjava-dev.axis.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/8aa25c99eeb0693fc229ec87d1423b5ed5d58558618706d8aba1d832%40%3Cjava-dev.axis.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/5e6c92145deddcecf70c3604041dcbd615efa2d37632fc2b9c367780@%3Cjava-dev.axis.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/5e6c92145deddcecf70c3604041dcbd615efa2d37632fc2b9c367780%40%3Cjava-dev.axis.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/44d4e88a5fa8ae60deb752029afe9054da87c5f859caf296fcf585e5@%3Cjava-dev.axis.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/44d4e88a5fa8ae60deb752029afe9054da87c5f859caf296fcf585e5%40%3Cjava-dev.axis.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/AXIS-2905"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/95377"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1129935"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2014-3596"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2015:1010"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2014:1193"
}, {
"type" : "WEB",
"url" : "http://linux.oracle.com/errata/ELSA-2014-1193.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00007.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00022.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2014-1193.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2014/08/20/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-297" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:53:43Z",
"nvd_published_at" : "2014-08-27T00:55:00Z"
}
}