Vulnerabilities in pkg:maven/ca.juliusdavies/not-yet-commons-ssl
PACKAGECVE-2014-3604 is a MODERATE improper validation of certificate with vulnerability (CWE-297: Improper Validation of Certificate with Host Mismatch) affecting Not yet commons ssl libraries in the Maven ecosystem. The issue involves improper validation of certificate with host mismatch in not yet commons ssl. Remediation is available by upgrading affected packages to version 0.3.15.
pkg:maven/ca.juliusdavies/not-yet-commons-ssl
Vulnerability advisories affecting package pkg:maven/ca.juliusdavies/not-yet-commons-ssl. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-cmxj-wx9v-52qr | CVE-2014-3604 | MODERATE | Improper Validation of Certificate with Host Mismatch in Not Yet Commons SSL |
CVE-2014-3604 at a Glance
How to Fix CVE-2014-3604
To remediate this vulnerability, upgrade all affected Not yet commons ssl 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>ca.juliusdavies</groupId>
<artifactId>not-yet-commons-ssl</artifactId>
<version>0.3.15</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=ca.juliusdavies
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2014-3604, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=ca.juliusdavies
Analyze the terminal output to locate any version of Not yet commons ssl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.15), your application is affected.
Note: The mvn dependency:tree -Dincludes=ca.juliusdavies 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 Not yet commons ssl, 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-3604 Affected Not yet commons ssl Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ca.juliusdavies:not-yet-commons-ssl
|
Maven |
< 0.3.15
|
0.3.15
|
References
Frequently Asked Questions
What is CVE-2014-3604?
Which Not yet commons ssl versions are affected?
What version fixes CVE-2014-3604?
Is not-yet-commons-ssl affected?
What CWE is associated with CVE-2014-3604?
How can I check Maven dependencies for CVE-2014-3604?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cmxj-wx9v-52qr",
"modified" : "2022-07-07T22:38:20Z",
"published" : "2022-05-14T03:59:54Z",
"aliases" : [ "CVE-2014-3604" ],
"summary" : "Improper Validation of Certificate with Host Mismatch in Not Yet Commons SSL",
"details" : "Certificates.java in Not Yet Commons SSL before 0.3.15 does not properly verify that the server hostname matches a domain name in the subject's Common Name (CN) field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "ca.juliusdavies:not-yet-commons-ssl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.15"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3604"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1131803"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/97659"
}, {
"type" : "WEB",
"url" : "https://github.com/victims/victims-cve-db/blob/master/database/java/2014/3604.yaml"
}, {
"type" : "WEB",
"url" : "http://juliusdavies.ca/svn/viewvc.cgi/not-yet-commons-ssl?view=rev&revision=172"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-1888.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-297" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-07T22:38:20Z",
"nvd_published_at" : "2014-10-25T00:55:00Z"
}
}