GHSA-3cqm-mf7h-prrj

    Dashboard / Vulnerabilities / GHSA-3cqm-mf7h-prrj

    GHSA-3cqm-mf7h-prrj

    Published: 24 May 2022Last Modified: 10 Sept 2026

    Summary: Square OkHttp can accept the wrong certificate

    Details: In verifyHostName of OkHostnameVerifier.java, there is a possible way to accept a certificate for the wrong domain due to improperly used crypto. This could lead to remote information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation. Product: AndroidVersions: Android-8.1 Android-9 Android-10 Android-11 Android ID: A-171980069

    Affected packages

    Package

    Name: com.squareup.okhttp3:okhttp

    Purl: pkg:maven/com.squareup.okhttp3/okhttp

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.9.2

    Affected versions

    3.0.0
    3.0.0-RC1
    3.0.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-3cqm-mf7h-prrj | CVE-DB