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.
{
"github_reviewed": true,
"cwe_ids": [
"CWE-297"
],
"nvd_published_at": "2014-10-25T00:55:00Z",
"github_reviewed_at": "2022-07-07T22:38:20Z",
"severity": "MODERATE"
}