Observable Discrepancy Affecting bouncycastle.cryptography package, versions [,2.3.1)


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-DOTNET-BOUNCYCASTLECRYPTOGRAPHY-7831266
  • published26 Aug 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 BouncyCastle.Cryptography to version 2.3.1 or higher.

Overview

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