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?
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=trueBouncyCastleNuGet
- 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.1Details
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
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-30171
- Linkgithub.com/bcgit/bc-csharp/commit/c984b8bfd8544dfc55dba91a02cbbbb9c580c217
- Linkgithub.com/bcgit/bc-java/commit/d7d5e735abd64bf0f413f54fd9e495fc02400fb0
- Linkgithub.com/bcgit/bc-java/commit/e0569dcb1dea9d421d84fc4c5c5688fe101afa2d
- Linkgithub.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9030171
- Linkgithub.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9030171
- Linksecurity.netapp.com/advisory/ntap-20240614-0008
- Linkwww.bouncycastle.org/latest_releases.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.