org.bouncycastle:bcprov-jdk15to18@1.65 vulnerabilities

  • latest version

    1.77

  • first published

    5 years ago

  • latest version published

    4 months ago

  • licenses detected

  • package manager

Direct Vulnerabilities

Known vulnerabilities in the org.bouncycastle:bcprov-jdk15to18 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-jdk15to18 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-jdk15to18.

[0,)
  • 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)
  • M
Cryptographic Issues

org.bouncycastle:bcprov-jdk15to18 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-jdk15to18 to version 1.69 or higher.

[1.63,1.69)
  • M
Timing Attack

org.bouncycastle:bcprov-jdk15to18 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-jdk15to18 to version 1.66 or higher.

[,1.66)
  • H
Comparison Using Wrong Factors

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

Affected versions of this package are vulnerable to Comparison Using Wrong Factors. The OpenBSDBCrypt.checkPassword utility method compared incorrect data when checking the password, allowing incorrect passwords to indicate they were matching with previously hashed ones that were different.

How to fix Comparison Using Wrong Factors?

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

[1.65,1.67)