GHSA-4h8f-2wvx-gg5w

    Dashboard / Vulnerabilities / GHSA-4h8f-2wvx-gg5w

    GHSA-4h8f-2wvx-gg5w

    Published: 3 May 2024Last Modified: 10 Sept 2026

    Summary: Bouncy Castle Java Cryptography API vulnerable to DNS poisoning

    Details: An issue was discovered in the Bouncy Castle Crypto Package For Java before BC TLS Java 1.0.19 (ships with BC Java 1.78, BC Java (LTS) 2.73.6) and before BC FIPS TLS Java 1.0.19. When endpoint identification is enabled in the BCJSSE and an SSL socket is created without an explicit hostname (as happens with HttpsURLConnection), hostname verification could be performed against a DNS-resolved IP address in some situations, opening up a possibility of DNS poisoning.

    Affected packages

    Package

    Name: org.bouncycastle:bcprov-jdk18on

    Purl: pkg:maven/org.bouncycastle/bcprov-jdk18on

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 1.61
    Fixed -1.78

    Affected versions

    1.71
    1.71.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-4h8f-2wvx-gg5w | CVE-DB