SSL Certificate Bypass Affecting com.squareup.okhttp3:okhttp package, versions [3.0.0,3.1.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.08% (36th 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 ID SNYK-JAVA-COMSQUAREUPOKHTTP3-73572
  • published 11 Feb 2016
  • disclosed 11 Feb 2016
  • credit John Kozyrakis

How to fix?

Upgrade com.squareup.okhttp3:okhttp to version 3.1.2 or higher.

Overview

com.squareup.okhttp3:okhttp is 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 Scores

version 3.1
Expand this section

Snyk

Recommended
5.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

NVD

5.9 medium