Advisory record · GHSA-3cqm-mf7h-prrj

Square OkHttp can accept the wrong certificate

CVSS 7.5 HighEPSS 0.0092 · 60th percentile

Published by the GitHub Advisory Database at 24 May 2022, 17:41 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
com.squareup.okhttp3:okhttpMaven<4.9.24.9.2
Identifiers
GHSA-3cqm-mf7h-prrj · A-171980069 · ASB-A-171980069 · CVE-2021-0341
Weakness (CWE)
CWE-295
Published
24 May 2022
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Square OkHttp versions before 4.9.2 can accept a certificate issued for the wrong domain during hostname verification. An attacker in a position to present a certificate, such as via a network path they control, can intercept connections and read the disclosed information without user interaction. Upgrade okhttp to version 4.9.2 or later. The source gives few details about the exact conditions required.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0092, the 60th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:18 UTC First seen by agentprime
  2. 31 Oct 2026, 14:18 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.