SSL Certificate Bypass Affecting com.squareup.okhttp:okhttp package, versions [,2.7.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
5.26% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMSQUAREUPOKHTTP-30380
  • published11 Feb 2016
  • disclosed11 Feb 2016
  • creditJohn Kozyrakis

Introduced: 11 Feb 2016

CVE-2016-2402  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade com.squareup.okhttp:okhttp to version 2.7.4 or higher.

Overview

com.squareup.okhttp:okhttp is an HTTP & HTTP/2 client for Android and Java applications

Affected versions of this package are vulnerable to SSL Certificate Bypass. It allows man-in-the-middle attackers to bypass certificate pinning by sending a certificate chain with a certificate from a non-pinned trusted CA and the pinned certificate.

CVSS Base Scores

version 3.1