org.bouncycastle:bcprov-jdk15to18@1.71 vulnerabilities

  • latest version

    1.81

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    27 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Uncontrolled Resource Consumption ('Resource Exhaustion')

    org.bouncycastle:bcprov-jdk15to18 is a Java implementation of cryptographic algorithms.

    Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') within the org.bouncycastle.openssl.PEMParser class. Parsing a file that has crafted ASN.1 data through the PEMParser causes an OutOfMemoryError.

    How to fix Uncontrolled Resource Consumption ('Resource Exhaustion')?

    Upgrade org.bouncycastle:bcprov-jdk15to18 to version 1.73 or higher.

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

    org.bouncycastle:bcprov-jdk15to18 is a Java implementation of cryptographic algorithms.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the solveQuadraticEquation() function used for certificate verification in ECCurve.java. Passing a large f2m parameter can cause excessive CPU consumption.

    How to fix Allocation of Resources Without Limits or Throttling?

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

    [,1.78)
    • M
    Observable Discrepancy

    org.bouncycastle:bcprov-jdk15to18 is a Java implementation of cryptographic algorithms.

    Affected versions of this package are vulnerable to Observable Discrepancy due to the timing difference between exceptions thrown when processing RSA key exchange handshakes, AKA Marvin.

    Note: The implemented fix mitigates the leakage of data via the PKCS#1 interface, but does not fully alleviate the side-channel as it allows cases in which the padding check fails but the handshake succeeds.

    How to fix Observable Discrepancy?

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

    [,1.78)
    • H
    Infinite loop

    org.bouncycastle:bcprov-jdk15to18 is a Java implementation of cryptographic algorithms.

    Affected versions of this package are vulnerable to Infinite loop in ED25519 verification in the ScalarUtil class. An attacker can send a malicious signature and public key to trigger denial of service.

    How to fix Infinite loop?

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

    [1.71,1.78)
    • M
    Information Exposure

    org.bouncycastle:bcprov-jdk15to18 is a Java implementation of cryptographic algorithms.

    Affected versions of this package are vulnerable to Information Exposure due to missing validation for the X.500 name of any certificate, subject, or issuer. The presence of a wild card may lead to information disclosure. This could allow a malicious user to obtain unauthorized information via blind LDAP Injection, exploring the environment and enumerating data.

    Note:

    The exploit depends on the structure of the target LDAP directory as well as what kind of errors are exposed to the user.

    How to fix Information Exposure?

    Upgrade org.bouncycastle:bcprov-jdk15to18 to version 1.74 or higher.

    [,1.74)