ecki/JavaCryptoTest

Vulnerabilities

4 via 4 paths

Dependencies

4

Source

GitHub

Commit

6509785d

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 4
  • 1
Severity
  • 5
Status
  • 5
  • 0
  • 0

medium severity

Uncontrolled Resource Consumption ('Resource Exhaustion')

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

Detailed paths

  • Introduced through: ecki/JavaCryptoTest@ecki/JavaCryptoTest#6509785de8453f8f55bd58916d6503bf7af590db 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

Allocation of Resources Without Limits or Throttling

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

Detailed paths

  • Introduced through: ecki/JavaCryptoTest@ecki/JavaCryptoTest#6509785de8453f8f55bd58916d6503bf7af590db 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

Detailed paths

  • Introduced through: ecki/JavaCryptoTest@ecki/JavaCryptoTest#6509785de8453f8f55bd58916d6503bf7af590db org.bouncycastle:bcprov-jdk15on@1.67
    Remediation: Upgrade to org.bouncycastle:bcprov-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

Detailed paths

  • Introduced through: ecki/JavaCryptoTest@ecki/JavaCryptoTest#6509785de8453f8f55bd58916d6503bf7af590db 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

medium severity
new

EPL-1.0 license

  • Module: junit:junit
  • Introduced through: junit:junit@4.13.2

Detailed paths

  • Introduced through: ecki/JavaCryptoTest@ecki/JavaCryptoTest#6509785de8453f8f55bd58916d6503bf7af590db junit:junit@4.13.2

EPL-1.0 license