First published: Fri Jul 10 2015(Updated: )
A flaw was found in the way the JSSE component in OpenJDK performed X.509 certificate identify verification when establishing TLS/SSL connection to a host identified using IP address. In certain cases, it would incorrectly use a host name obtained after performing reverse DNS lookup of the specified IP address rather than the original IP address for the identity check, possibly leading to having a certificate issued for different identity to be accepted as valid. This issue is know to affect cases when SSLSocketFactory.createSocket() is called with certain InetAddress instances. It is not known to affect cases when target host IP is passed to createSocket() as string, or when IP is used in URL used for HttpsURLConnection. With this patch, reverse DNS lookup is no longer performed. The fix also adds new system property jdk.tls.trustNameService that can be used to allow the DNS lookup to be performed and hence have its result used during identity check.
Credit: secalert_us@oracle.com secalert_us@oracle.com
Affected Software | Affected Version | How to fix |
---|---|---|
Oracle JDK | =1.6.0-update95 | |
Oracle JDK | =1.7.0-update75 | |
Oracle JDK | =1.7.0-update80 | |
Oracle JDK | =1.8.0-update_33 | |
Oracle JDK | =1.8.0-update45 | |
Oracle JRE | =1.6.0-update_95 | |
Oracle JRE | =1.7.0-update_75 | |
Oracle JRE | =1.7.0-update_80 | |
Oracle JRE | =1.8.0-update_33 | |
Oracle JRE | =1.8.0-update_45 | |
Oracle JRockit | =r28.3.6 | |
debian/openjdk-8 | 8u432-b06-2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2015-2625 is low, with a severity score of 2.6.
Oracle Java SE versions 6u95, 7u80, and 8u45 are affected by CVE-2015-2625.
A remote attacker can exploit CVE-2015-2625 to affect confidentiality via vectors related to JSSE.
The official references for CVE-2015-2625 can be found at the following links: [1](http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html#AppendixJAVA), [2](http://www.oracle.com/technetwork/java/javase/8u51-relnotes-2587590.html), [3](http://www.oracle.com/technetwork/java/javase/7u85-relnotes-2587591.html).
To fix the vulnerability in CVE-2015-2625, it is recommended to update to the latest patched version of Oracle Java SE.