GHSA-rrvx-pwf8-p59p

    Dashboard / Vulnerabilities / GHSA-rrvx-pwf8-p59p

    GHSA-rrvx-pwf8-p59p

    Published: 17 Oct 2018Last Modified: 12 Sept 2025

    Summary: In Bouncy Castle JCE Provider the DSA key pair generator generates a weak private key if used with default values

    Details: In the Bouncy Castle JCE Provider version 1.55 and earlier the DSA key pair generator generates a weak private key if used with default values. If the JCA key pair generator is not explicitly initialised with DSA parameters, 1.55 and earlier generates a private value assuming a 1024 bit key size. In earlier releases this can be dealt with by explicitly passing parameters to the key pair generator.

    Affected packages

    Package

    Name: org.bouncycastle:bcprov-jdk14

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

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.56

    Affected versions

    1.38

    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-rrvx-pwf8-p59p | CVE-DB