org.bouncycastle:bcprov-jdk15to18@1.71 vulnerabilities

  • latest version

    1.78

  • first published

    5 years ago

  • latest version published

    11 days 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
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
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)