medium5.9
CVE-2024-30171
Bouncy Castle affected by timing side-channel for RSA key exchange ("The Marvin Attack")
Impact
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 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 | none recorded |
| nuget | BouncyCastle.Cryptography | < 2.3.1 | 2.3.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Bouncy Castle | Bouncy Castle Java TLS API And JSSE Provider | before 1.78. |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-v435-xc8x-wvr9
- 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://security.netapp.com/advisory/ntap-20240614-0008