GHSA-4hc2-jh7r-wrc3

Suggest an improvement
Source
https://github.com/advisories/GHSA-4hc2-jh7r-wrc3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4hc2-jh7r-wrc3/GHSA-4hc2-jh7r-wrc3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4hc2-jh7r-wrc3
Aliases
Published
2022-05-13T01:11:51Z
Modified
2024-02-20T05:22:26.866493Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Improper Certificate Validation in OkHttp
Details

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.

References

Affected packages

Maven / com.squareup.okhttp3:okhttp

Package

Name
com.squareup.okhttp3:okhttp
View open source insights on deps.dev
Purl
pkg:maven/com.squareup.okhttp3/okhttp

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.4

Database specific

{
    "last_known_affected_version_range": "<= 2.7.3"
}

Maven / com.squareup.okhttp3:okhttp

Package

Name
com.squareup.okhttp3:okhttp
View open source insights on deps.dev
Purl
pkg:maven/com.squareup.okhttp3/okhttp

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
3.1.2

Affected versions

3.*

3.0.0
3.0.1
3.1.0
3.1.1

Database specific

{
    "last_known_affected_version_range": "<= 3.1.1"
}