# com.squareup.okhttp3:okhttp (Maven) vulnerabilities

2 known vulnerabilities, with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://central.sonatype.com/artifact/com.squareup.okhttp3/okhttp

## Advisories (2)

### [CVE-2021-0341](https://cve.now/CVE-2021-0341): In verifyHostName of OkHostnameVerifier.java, there is a possible way to accept a certificate for the wrong domain due to improperly used…

- Severity: Unrated
- Published: Feb 10, 2021
- Affected: fixed in 4.9.2.

### [CVE-2016-2402](https://cve.now/CVE-2016-2402): 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…

- Severity: Unrated
- Published: Jan 30, 2017
- Affected: fixed in 2.7.4; from 3.0.0, fixed in 3.1.2.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/maven/com.squareup.okhttp3:okhttp
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
