org.bouncycastle:bcprov-jdk15on@1.57 vulnerabilities

  • latest version

    1.70

  • first published

    13 years ago

  • latest version published

    3 years ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.bouncycastle:bcprov-jdk15on 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-jdk15on 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')?

    There is no fixed version for org.bouncycastle:bcprov-jdk15on.

    [0,)
    • M
    Information Exposure

    org.bouncycastle:bcprov-jdk15on 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?

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

    [0,)
    • M
    Cryptographic Issues

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

    Affected versions of this package are vulnerable to Cryptographic Issues via weak key-hash message authentication code (HMAC) that is only 16 bits long which can result in hash collisions, as a result of an error within the BKS version 1 keystore (BKS-V1) files and could lead to an attacker being able to affect the integrity of these files. This vulnerability was introduced following an incomplete fix for CVE-2018-5382.

    How to fix Cryptographic Issues?

    Upgrade org.bouncycastle:bcprov-jdk15on to version 1.69 or higher.

    [1.47,1.69)
    • M
    Timing Attack

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

    Affected versions of this package are vulnerable to Timing Attack. A timing issue within the EC math library can expose information about the private key when an attacker is able to observe timing information for the generation of multiple deterministic ECDSA signatures.

    How to fix Timing Attack?

    Upgrade org.bouncycastle:bcprov-jdk15on to version 1.66 or higher.

    [,1.66)
    • H
    Information Exposure

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

    Affected versions of this package are vulnerable to Information Exposure. Attackers can obtain sensitive information about a private exponent because of Observable Differences in Behavior to Error Inputs. This occurs in org.bouncycastle.crypto.encodings.OAEPEncoding. Sending invalid ciphertext that decrypts to a short payload in the OAEP Decoder could result in the throwing of an early exception, potentially leaking some information about the private exponent of the RSA private key performing the encryption.

    How to fix Information Exposure?

    Upgrade org.bouncycastle:bcprov-jdk15on to version 1.61 or higher.

    [,1.61)
    • C
    Deserialization of Untrusted Data

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

    Affected versions of this package are vulnerable to Deserialization of Untrusted Data via the XMSS/XMSS^MT private key deserialization. A handcrafted private key could include references to unexpected classes which would be picked up from the class path for the executing application.

    How to fix Deserialization of Untrusted Data?

    Upgrade org.bouncycastle:bcprov-jdk15on to version 1.60 or higher.

    [1.57,1.60)
    • H
    Insecure Encryption

    BouncyCastle is a Java implementation of cryptographic algorithms.

    Affected versions of this package are vulnerable to Insecure Encryption. It has a flaw in the Low-level interface to RSA key pair generator, specifically RSA Key Pairs generated in low-level API with added certainty may have less M-R tests than expected.

    How to fix Insecure Encryption?

    Upgrade org.bouncycastle:bcprov-jdk15on to version 1.60 or higher.

    [1.54,1.60)