CVE-2024-30171
MEDIUM 5.9CVSS 3.1Bouncy Castle affected by timing side-channel for RSA key exchange ("The Marvin Attack")
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.
- Published
- 14 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-203
- Also known as
- GHSA-v435-xc8x-wvr9
- Sources
- NVDJSONOSV GHSA-v435-xc8x-wvr9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.bouncycastle:bctls-fips | < 1.0.19 | 1.0.19 |
| OSV | Maven | org.bouncycastle:bcprov-jdk18on | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15on | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bcprov-jdk15to18 | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bcprov-jdk14 | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bctls-jdk18on | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bctls-jdk14 | < 1.78 | 1.78 |
| OSV | Maven | org.bouncycastle:bctls-jdk15to18 | < 1.78 | 1.78 |
| OSV | NuGet | BouncyCastle | all versions | |
| OSV | NuGet | BouncyCastle.Cryptography | < 2.3.1 | 2.3.1 |
References
- https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9030171 · WEB
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9030171 · WEB
- https://security.netapp.com/advisory/ntap-20240614-0008/ · WEB
- https://www.bouncycastle.org/latest_releases.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-30171 · ADVISORY
- https://github.com/bcgit/bc-csharp/commit/c984b8bfd8544dfc55dba91a02cbbbb9c580c217 · WEB
- https://github.com/bcgit/bc-java/commit/d7d5e735abd64bf0f413f54fd9e495fc02400fb0 · WEB
- https://github.com/bcgit/bc-java/commit/e0569dcb1dea9d421d84fc4c5c5688fe101afa2d · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 14 May 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2024)