Observable Discrepancy Affecting org.bouncycastle:bcprov-jdk15to18 package, versions [,1.78)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th 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-6613077
  • published14 Apr 2024
  • disclosed11 Apr 2024
  • creditHubert Kario

Introduced: 11 Apr 2024

CVE-2024-30171  (opens in a new tab)
CWE-203  (opens in a new tab)

How to fix?

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

Overview

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.

CVSS Scores

version 3.1