MediumGHSA-v435-xc8x-wvr9CVE-2024-30171

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

Published 14 May 2024 · Updated 10 Sept 2026

Is your project on an affected org.bouncycastle:bctls-fips?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
<1.0.19
Fixed in
1.0.19
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.bouncycastle:bctls-fips -DdepVersion=1.0.19 -DforceVersion=true
Affected
<1.78
Fixed in
1.78
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.bouncycastle:bcprov-jdk18on -DdepVersion=1.78 -DforceVersion=true
Affected
<1.78
Fixed in
1.78
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.bouncycastle:bcprov-jdk15on -DdepVersion=1.78 -DforceVersion=true
Affected
<1.78
Fixed in
1.78
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.bouncycastle:bcprov-jdk15to18 -DdepVersion=1.78 -DforceVersion=true
Affected
<1.78
Fixed in
1.78
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.bouncycastle:bcprov-jdk14 -DdepVersion=1.78 -DforceVersion=true
Affected
<1.78
Fixed in
1.78
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.bouncycastle:bctls-jdk18on -DdepVersion=1.78 -DforceVersion=true
Affected
<1.78
Fixed in
1.78
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.bouncycastle:bctls-jdk14 -DdepVersion=1.78 -DforceVersion=true
Affected
<1.78
Fixed in
1.78
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.bouncycastle:bctls-jdk15to18 -DdepVersion=1.78 -DforceVersion=true
Affected
All versions
Fixed in
No fix released
Affected
<2.3.1
Fixed in
2.3.1
Update to the fixed version for your release line, for example:dotnet add package BouncyCastle.Cryptography --version 2.3.1

Details

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.

Is GHSA-v435-xc8x-wvr9 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.bouncycastle:bctls-fips, and gives you the command that fixes it.

More advisories for org.bouncycastle:bctls-fips

  • MediumCVE-2025-9341Bouncy Castle for Java has Uncontrolled Resource Consumption Vulnerability · 22 Aug 2025
  • MediumCVE-2024-34447Bouncy Castle Java Cryptography API vulnerable to DNS poisoning · 3 May 2024
org.bouncycastle:bctls-fips security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.