org.bouncycastle:bcprov-ext-jdk18on@1.74

  • latest version

    1.78.1

  • first published

    4 years ago

  • latest version published

    2 years ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.bouncycastle:bcprov-ext-jdk18on package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Timing Attack

    Affected versions of this package are vulnerable to Timing Attack in the ML-KEM Poly.toMsg, Poly.compressPoly, and PolyVec.compressPolyVec routines. An attacker can recover a long-term private key by sending ciphertexts and measuring the time taken by repeated decapsulation operations that execute secret-dependent divisions by the Kyber modulus q on secret-derived polynomial coefficients. The flaw affects Kyber decapsulation and ciphertext compression code in org.bouncycastle.pqc.crypto.crystals.kyber, where the coefficient-to-message and coefficient-compression logic leaks information through variable-time arithmetic. This compromises private-key confidentiality in deployments that process many decapsulations using the same key.

    How to fix Timing Attack?

    Upgrade org.bouncycastle:bcprov-ext-jdk18on to version 1.78 or higher.

    [1.73,1.78)
    • M
    Allocation of Resources Without Limits or Throttling

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to improper processing of large name constraint structures in PKIXCertPathReviewer. An attacker can cause excessive resource allocation by submitting specially crafted ASN.1 objects, potentially leading to service disruption.

    How to fix Allocation of Resources Without Limits or Throttling?

    A fix was pushed into the master branch but not yet published.

    [0,)
    • M
    Allocation of Resources Without Limits or Throttling

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the ASN1ObjectIdentifier. An attacker can cause excessive resource consumption by submitting specially crafted ASN.1 Object Identifiers, potentially leading to service disruption.

    Note: This issue only applies to applications which do consume unvetted, or otherwise unvalidated, ASN.1 encodings.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.bouncycastle:bcprov-ext-jdk18on to version 1.78 or higher.

    [1.70,1.78)