Vulnerabilities

5 via 10 paths

Dependencies

4

Source

GitHub

Commit

42e94c16

Find, fix and prevent vulnerabilities in your code.

Severity
  • 5
Status
  • 5
  • 0
  • 0

medium severity

Observable Timing Discrepancy

  • Vulnerable module: org.bouncycastle:bcprov-jdk15on
  • Introduced through: org.bouncycastle:bcprov-jdk15on@1.67 and org.bouncycastle:bcpg-jdk15on@1.67

Detailed paths

  • Introduced through: neuhalje/bouncy-gpg@neuhalje/bouncy-gpg#42e94c16c6684b3dc1cfd20a3e4a237562ac8c24 org.bouncycastle:bcprov-jdk15on@1.67
  • Introduced through: neuhalje/bouncy-gpg@neuhalje/bouncy-gpg#42e94c16c6684b3dc1cfd20a3e4a237562ac8c24 org.bouncycastle:bcpg-jdk15on@1.67 org.bouncycastle:bcprov-jdk15on@1.67

Overview

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.

Remediation

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

References

medium severity

Uncontrolled Resource Consumption ('Resource Exhaustion')

  • Vulnerable module: org.bouncycastle:bcprov-jdk15on
  • Introduced through: org.bouncycastle:bcprov-jdk15on@1.67 and org.bouncycastle:bcpg-jdk15on@1.67

Detailed paths

  • Introduced through: neuhalje/bouncy-gpg@neuhalje/bouncy-gpg#42e94c16c6684b3dc1cfd20a3e4a237562ac8c24 org.bouncycastle:bcprov-jdk15on@1.67
  • Introduced through: neuhalje/bouncy-gpg@neuhalje/bouncy-gpg#42e94c16c6684b3dc1cfd20a3e4a237562ac8c24 org.bouncycastle:bcpg-jdk15on@1.67 org.bouncycastle:bcprov-jdk15on@1.67

Overview

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.

Workaround

The attack can be avoided by filtering PEM requests containing EXTERNAL tagged encodings.

Remediation

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

References

medium severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.bouncycastle:bcprov-jdk15on
  • Introduced through: org.bouncycastle:bcprov-jdk15on@1.67 and org.bouncycastle:bcpg-jdk15on@1.67

Detailed paths

  • Introduced through: neuhalje/bouncy-gpg@neuhalje/bouncy-gpg#42e94c16c6684b3dc1cfd20a3e4a237562ac8c24 org.bouncycastle:bcprov-jdk15on@1.67
  • Introduced through: neuhalje/bouncy-gpg@neuhalje/bouncy-gpg#42e94c16c6684b3dc1cfd20a3e4a237562ac8c24 org.bouncycastle:bcpg-jdk15on@1.67 org.bouncycastle:bcprov-jdk15on@1.67

Overview

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

Remediation

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

References

medium severity

Cryptographic Issues

  • Vulnerable module: org.bouncycastle:bcprov-jdk15on
  • Introduced through: org.bouncycastle:bcprov-jdk15on@1.67 and org.bouncycastle:bcpg-jdk15on@1.67

Detailed paths

  • Introduced through: neuhalje/bouncy-gpg@neuhalje/bouncy-gpg#42e94c16c6684b3dc1cfd20a3e4a237562ac8c24 org.bouncycastle:bcprov-jdk15on@1.67
    Remediation: Upgrade to org.bouncycastle:bcprov-jdk15on@1.69.
  • Introduced through: neuhalje/bouncy-gpg@neuhalje/bouncy-gpg#42e94c16c6684b3dc1cfd20a3e4a237562ac8c24 org.bouncycastle:bcpg-jdk15on@1.67 org.bouncycastle:bcprov-jdk15on@1.67
    Remediation: Upgrade to org.bouncycastle:bcpg-jdk15on@1.69.

Overview

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.

Remediation

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

References

medium severity

Information Exposure

  • Vulnerable module: org.bouncycastle:bcprov-jdk15on
  • Introduced through: org.bouncycastle:bcprov-jdk15on@1.67 and org.bouncycastle:bcpg-jdk15on@1.67

Detailed paths

  • Introduced through: neuhalje/bouncy-gpg@neuhalje/bouncy-gpg#42e94c16c6684b3dc1cfd20a3e4a237562ac8c24 org.bouncycastle:bcprov-jdk15on@1.67
  • Introduced through: neuhalje/bouncy-gpg@neuhalje/bouncy-gpg#42e94c16c6684b3dc1cfd20a3e4a237562ac8c24 org.bouncycastle:bcpg-jdk15on@1.67 org.bouncycastle:bcprov-jdk15on@1.67

Overview

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.

Remediation

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

References