Information Exposure Affecting org.bouncycastle:bcprov-jdk14 package, versions [,1.61)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGBOUNCYCASTLE-1035565
  • published3 Nov 2020
  • disclosed3 Nov 2020
  • creditUnknown

Introduced: 3 Nov 2020

CVE-2020-26939  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade org.bouncycastle:bcprov-jdk14 to version 1.61 or higher.

Overview

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

CVSS Scores

version 3.1