GHSA-hq9p-pm7w-8p54

    Dashboard / Vulnerabilities / GHSA-hq9p-pm7w-8p54

    GHSA-hq9p-pm7w-8p54

    Published: 11 Jun 2025Last Modified: 10 Sept 2026

    Summary: pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration

    Details: ### Impact When the PostgreSQL JDBC driver is configured with channel binding set to `required` (default value is `prefer`), the driver would incorrectly allow connections to proceed with authentication methods that do not support channel binding (such as password, MD5, GSS, or SSPI authentication). This could allow a man-in-the-middle attacker to intercept connections that users believed were protected by channel binding requirements. ### Patches TBD ### Workarounds Configure `sslMode=verify-full` to prevent MITM attacks. ### References * https://www.postgresql.org/docs/current/sasl-authentication.html#SASL-SCRAM-SHA-256 * https://datatracker.ietf.org/doc/html/rfc7677 * https://datatracker.ietf.org/doc/html/rfc5802

    Affected packages

    Package

    Name: org.postgresql:postgresql

    Purl: pkg:maven/org.postgresql/postgresql

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 42.7.4
    Fixed -42.7.7

    Affected versions

    42.7.4
    42.7.5
    42.7.6

    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-hq9p-pm7w-8p54 | CVE-DB