Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. BouncyCastle.Cryptography
  4. ›
  5. CVE-2024-30171

CVE-2024-30171: Bouncy Castle affected by timing side-channel for RSA key exchange ("The Marvin Attack")

May 14, 2024

An issue was discovered in Bouncy Castle Java TLS API and JSSE Provider before 1.78. Timing-based leakage may occur in RSA based handshakes because of exception processing.

References

  • github.com/advisories/GHSA-v435-xc8x-wvr9
  • github.com/bcgit/bc-csharp/commit/c984b8bfd8544dfc55dba91a02cbbbb9c580c217
  • github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9030171
  • github.com/bcgit/bc-java/commit/d7d5e735abd64bf0f413f54fd9e495fc02400fb0
  • github.com/bcgit/bc-java/commit/e0569dcb1dea9d421d84fc4c5c5688fe101afa2d
  • github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9030171
  • nvd.nist.gov/vuln/detail/CVE-2024-30171
  • www.bouncycastle.org/latest_releases.html

Code Behaviors & Features

Detect and mitigate CVE-2024-30171 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.1

Fixed versions

  • 2.3.1

Solution

Upgrade to version 2.3.1 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy

Source file

nuget/BouncyCastle.Cryptography/CVE-2024-30171.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:06 +0000.