Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-30171

MEDIUM 5.9EPSS 66%

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

Also known as GHSA-v435-xc8x-wvr9

Mitigation

  • Upgrade org.bouncycastle:bctls-fips to 1.0.19 or later.
  • Upgrade org.bouncycastle:bcprov-jdk18on to 1.78 or later.
  • Upgrade org.bouncycastle:bcprov-jdk15on to 1.78 or later.
  • Upgrade org.bouncycastle:bcprov-jdk15to18 to 1.78 or later.
  • Upgrade org.bouncycastle:bcprov-jdk14 to 1.78 or later.
  • Upgrade org.bouncycastle:bctls-jdk18on to 1.78 or later.
  • Upgrade org.bouncycastle:bctls-jdk14 to 1.78 or later.
  • Upgrade org.bouncycastle:bctls-jdk15to18 to 1.78 or later.

Who should check

  • Projects that depend on Maven package org.bouncycastle:bctls-fips (< 1.0.19)
  • Projects that depend on Maven package org.bouncycastle:bcprov-jdk18on (< 1.78)
  • Projects that depend on Maven package org.bouncycastle:bcprov-jdk15on (< 1.78)
  • Projects that depend on Maven package org.bouncycastle:bcprov-jdk15to18 (< 1.78)
  • Projects that depend on Maven package org.bouncycastle:bcprov-jdk14 (< 1.78)
  • Projects that depend on Maven package org.bouncycastle:bctls-jdk18on (< 1.78)
  • Projects that depend on Maven package org.bouncycastle:bctls-jdk14 (< 1.78)
  • Projects that depend on Maven package org.bouncycastle:bctls-jdk15to18 (< 1.78)

Vulnerability facts

Affected
org.bouncycastle:bctls-fips < 1.0.19; org.bouncycastle:bcprov-jdk18on < 1.78; org.bouncycastle:bcprov-jdk15on < 1.78; org.bouncycastle:bcprov-jdk15to18 < 1.78; org.bouncycastle:bcprov-jdk14 < 1.78; org.bouncycastle:bctls-jdk18on < 1.78; org.bouncycastle:bctls-jdk14 < 1.78; org.bouncycastle:bctls-jdk15to18 < 1.78; BouncyCastle 1.7.0, 1.8.1, 1.8.2, 1.8.3, 1.8.3.1, 1.8.4, 1.8.5, 1.8.6, 1.8.6.1, 1.8.9; BouncyCastle.Cryptography < 2.3.1
Fixed in
1.0.19, 1.78, 2.3.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
1.14% chance of exploitation in 30 days (percentile 66, 2026-11-26)
CWE
CWE-203
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.bouncycastle:bctls-fips< 1.0.191.0.19osv
Maven org.bouncycastle:bcprov-jdk18on< 1.781.78osv
Maven org.bouncycastle:bcprov-jdk15on< 1.781.78osv
Maven org.bouncycastle:bcprov-jdk15to18< 1.781.78osv
Maven org.bouncycastle:bcprov-jdk14< 1.781.78osv
Maven org.bouncycastle:bctls-jdk18on< 1.781.78osv
Maven org.bouncycastle:bctls-jdk14< 1.781.78osv
Maven org.bouncycastle:bctls-jdk15to18< 1.781.78osv
NuGet BouncyCastle1.7.0, 1.8.1, 1.8.2, 1.8.3, 1.8.3.1, 1.8.4, 1.8.5, 1.8.6, 1.8.6.1, 1.8.9—osv
NuGet BouncyCastle.Cryptography< 2.3.12.3.1osv
n/a——nvd
bouncycastle bouncy_castle_for_java< 1.78—nvd
netapp active_iq_unified_manager< *—nvd
netapp bluexp< *—nvd
netapp ontap_tools9—nvd
netapp oncommand_workflow_automation< *—nvd

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-30171. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-30171.md
Affected: org.bouncycastle:bctls-fips < 1.0.19; org.bouncycastle:bcprov-jdk18on < 1.78; org.bouncycastle:bcprov-jdk15on < 1.78; org.bouncycastle:bcprov-jdk15to18 < 1.78; org.bouncycastle:bcprov-jdk14 < 1.78; org.bouncycastle:bctls-jdk18on < 1.78; org.bouncycastle:bctls-jdk14 < 1.78; org.bouncycastle:bctls-jd…
Fixed in: 1.0.19, 1.78, 2.3.1

Steps:
1. Search this machine and project for org.bouncycastle:bctls-fips (Maven), org.bouncycastle:bcprov-jdk18on (Maven), org.bouncycastle:bcprov-jdk15on (Maven), org.bouncycastle:bcprov-jdk15to18 (Maven), org.bouncycastle:bcprov-jdk14 (Maven), org.bouncycastle:bctls-jdk18on (Maven): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-30171 being exploited?

There is no confirmed exploitation: CVE-2024-30171 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.14% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-30171?

Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-30171?

org.bouncycastle:bctls-fips < 1.0.19; org.bouncycastle:bcprov-jdk18on < 1.78; org.bouncycastle:bcprov-jdk15on < 1.78; org.bouncycastle:bcprov-jdk15to18 < 1.78; org.bouncycastle:bcprov-jdk14 < 1.78; org.bouncycastle:bctls-jdk18on < 1.78; org.bouncycastle:bctls-jdk14 < 1.78; org.bouncycastle:bctls-jdk15to18 < 1.78; BouncyCastle 1.7.0, 1.8.1, 1.8.2, 1.8.3, 1.8.3.1, 1.8.4, 1.8.5, 1.8.6, 1.8.6.1, 1.8.9; BouncyCastle.Cryptography < 2.3.1.

Is there a fix for CVE-2024-30171?

Yes. Fixed in 1.0.19, 1.78, 2.3.1. Upgrade org.bouncycastle:bctls-fips to 1.0.19 or later. Upgrade org.bouncycastle:bcprov-jdk18on to 1.78 or later. Upgrade org.bouncycastle:bcprov-jdk15on to 1.78 or later. Upgrade org.bouncycastle:bcprov-jdk15to18 to 1.78 or later. Upgrade org.bouncycastle:bcprov-jdk14 to 1.78 or later. Upgrade org.bouncycastle:bctls-jdk18on to 1.78 or later. Upgrade org.bouncycastle:bctls-jdk14 to 1.78 or later. Upgrade org.bouncycastle:bctls-jdk15to18 to 1.78 or later.

How do I check if I'm affected by CVE-2024-30171?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors