Skip to main content
← All vulnerabilities
CVE-2016-2402GHSA-4HC2-JH7R-WRC3

OkHttp before 2.7.4 and 3.x before 3.1.2 allows man-in-the-middle attackers to bypass certificate pinning by sending a certificate chain wit

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.4, 3.1.2
2 proofs of concept on GitHub

Summary

OkHttp before 2.7.4 and 3.x before 3.1.2 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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • com.squareup.okhttp3:okhttpMaven

    fixed in 2.7.4

  • com.squareup.okhttp3:okhttpMaven

    From 3.0.0 · fixed in 3.1.2

References 7

koz.io

publicobject.com

openwall.com

lists.apache.org

GitHub · ikoz/cert-pinning-flaw-poc

GitHub · ikoz/certPinningVulnerableOkHttp