CVE-2024-30171
Java vulnerability analysis and mitigation

Overview

A vulnerability was discovered in Bouncy Castle Java TLS API and JSSE Provider versions before 1.78, identified as CVE-2024-30171. The vulnerability relates to timing-based leakage that may occur in RSA-based handshakes due to exception processing. The issue was discovered and disclosed in May 2024, affecting all Java Virtual Machines (JVMs) and Common Language Runtimes (CLRs) (BC-Java Wiki).

Technical details

The vulnerability is classified as a timing side-channel vulnerability, specifically related to RSA key exchange (known as 'The Marvin Attack'). The timing signal was linked to the interaction between TLS APIs and exception handling in the underlying low-level APIs used for cryptographic services. The vulnerability has been assigned a CVSS v3.1 base score of 5.9 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (NetApp Advisory).

Impact

Successful exploitation of this vulnerability could lead to the disclosure of sensitive information through timing-based leakage during RSA-based handshakes (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Bouncy Castle version 1.78. The fix includes disabling RSA PKCS#1.5 by default in the BC TLS APIs. The fixes were implemented through multiple commits: for Java in commits d7d5e735abd64bf0f413f54fd9e495fc02400fb0 and e0569dcb1dea9d421d84fc4c5c5688fe101afa2d, and for C# .NET in commit c984b8bfd8544dfc55dba91a02cbbbb9c580c217 (BC-Java Wiki).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management