org.bouncycastle:bcprov-jdk15on@1.53 vulnerabilities

  • latest version

    1.70

  • first published

    12 years ago

  • latest version published

    2 years ago

  • licenses detected

  • package manager

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Observable Timing Discrepancy

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

Affected versions of this package are vulnerable to Observable Timing Discrepancy via the PKCS#1 1.5 and OAEP decryption process. An attacker can recover ciphertexts via a side-channel attack by exploiting the Marvin security flaw. The PKCS#1 1.5 attack vector leaks data via javax.crypto.Cipher exceptions and the OAEP interface vector leaks via the bit size of the decrypted data.

How to fix Observable Timing Discrepancy?

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

[0,)
  • 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)
  • L
Information Exposure

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

Affected versions of this package are vulnerable to Information Exposure. The primary engine class used for AES was AESFastEngine. Due to the highly table driven approach used in the algorithm it turns out that if the data channel on the CPU can be monitored the lookup table accesses are sufficient to leak information on the AES key being used. There was also a leak in AESEngine although it was substantially less.

How to fix Information Exposure?

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

[,1.56)
  • H
Insecure Encryption

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

Affected versions of this package are vulnerable to Insecure Encryption. The DHIES implementation allowed the use of ECB mode. This mode is regarded as unsafe and support for it has been removed from the provider.

How to fix Insecure Encryption?

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

[,1.56)
  • L
Insufficient Validation

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

Affected versions of this package are vulnerable to Insufficient Validation. The other party DH public key is not fully validated.

How to fix Insufficient Validation?

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

[,1.56)
  • M
Timing Attack

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

Affected versions of this package are vulnerable to Timing attacks. Where timings can be closely observed for the generation of signatures, the lack of blinding may allow an attacker to gain information about the signature's k value and ultimately the private value as well.

How to fix Timing Attack?

Upgrade org.bouncycastle:bcprov-jdk15on to version 1.56 o higher.

[,1.56)
  • H
Signature Validation Bypass

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

Affected versions of this package are vulnerable to Signature Validation Bypass. It does not fully validate ASN.1 encoding of signature on verification.

How to fix Signature Validation Bypass?

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

[,1.56)
  • M
Cryptographic Issues

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

Affected versions of this package are vulnerable to Cryptographic Issues. The DHIES/ECIES CBC mode are vulnerable to padding oracle attack.

How to fix Cryptographic Issues?

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

[,1.56)
  • H
Insecure Encryption

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

Affected versions of this package are vulnerable to Insecure Encryption. The DSA key pair generator generates a weak private key if used with default values.

How to fix Insecure Encryption?

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

[1.47,1.56)
  • H
Insecure Encryption

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

Affected versions of this package are vulnerable to Insecure Encryption. The ECIES implementation allowed the use of ECB mode. This mode is regarded as unsafe and support for it has been removed from the provider.

How to fix Insecure Encryption?

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

[,1.56)
  • H
Insecure Encryption

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

Affected versions of this package are vulnerable to Insecure Encryption. A carry propagation bug was introduced in the implementation of squaring for several raw math classes.

How to fix Insecure Encryption?

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

[1.51,1.56)
  • H
Insufficient Validation

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

Affected versions of this package are vulnerable to Insufficient Validation. The DSA does not fully validate ASN.1 encoding of signature on verification. It is possible to inject extra elements in the sequence making up the signature and still have it validate, which in some cases may allow the introduction of invisible data into a signed structure.

How to fix Insufficient Validation?

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

[,1.56)