GHSA-v435-xc8x-wvr9
Bouncy Castle affected by timing side-channel for RSA key exchange ("The Marvin Attack")
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.bouncycastle:bctls-fips | < 1.0.19 | 1.0.19 |
| Maven | org.bouncycastle:bcprov-jdk18on | < 1.78 | 1.78 |
| Maven | org.bouncycastle:bcprov-jdk15on | < 1.78 | 1.78 |
| Maven | org.bouncycastle:bcprov-jdk15to18 | < 1.78 | 1.78 |
| Maven | org.bouncycastle:bcprov-jdk14 | < 1.78 | 1.78 |
| Maven | org.bouncycastle:bctls-jdk18on | < 1.78 | 1.78 |
| Maven | org.bouncycastle:bctls-jdk14 | < 1.78 | 1.78 |
| Maven | org.bouncycastle:bctls-jdk15to18 | < 1.78 | 1.78 |
| NuGet | BouncyCastle | < 2.3.1 | no fix listed |
| NuGet | BouncyCastle.Cryptography | < 2.3.1 | 2.3.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-30171
- https://github.com/bcgit/bc-csharp/commit/c984b8bfd8544dfc55dba91a02cbbbb9c580c217
- https://github.com/bcgit/bc-java/commit/d7d5e735abd64bf0f413f54fd9e495fc02400fb0
- https://github.com/bcgit/bc-java/commit/e0569dcb1dea9d421d84fc4c5c5688fe101afa2d
- https://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9030171
- https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9030171
- https://security.netapp.com/advisory/ntap-20240614-0008
- https://www.bouncycastle.org/latest_releases.html