MODERATE 5.9
CVE-2024-30171
Bouncy Castle affected by timing side-channel for RSA key exchange ("The Marvin Attack")
Description
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 Maven artifacts (8)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle » bcprov-jdk14 | < 1.78 | 1.78 |
| org.bouncycastle » bcprov-jdk15on | < 1.78 | 1.78 |
| org.bouncycastle » bcprov-jdk15to18 | < 1.78 | 1.78 |
| org.bouncycastle » bcprov-jdk18on | < 1.78 | 1.78 |
| org.bouncycastle » bctls-fips | < 1.0.19 | 1.0.19 |
| org.bouncycastle » bctls-jdk14 | < 1.78 | 1.78 |
| org.bouncycastle » bctls-jdk15to18 | < 1.78 | 1.78 |
| org.bouncycastle » bctls-jdk18on | < 1.78 | 1.78 |
Blast radius
8affected artifacts
188affected versions
52,663dependent artifacts (est.)
4,539,071dependent versions
69% of the dependent artifacts (36,352) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 152,485 |
| 2 hops | 898,377 |
| 3 hops | 1,260,965 |
| 4 hops | 1,166,868 |
| 5 hops | 713,508 |
| 6 hops | 346,868 |
Most used dependents
- org.apache.maven.plugins » maven-gpg-plugin50,913 usages
- org.testcontainers » testcontainers4,109 usages
- org.apache.poi » poi-ooxml3,690 usages
- io.netty » netty-all3,584 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- redis.clients » jedis2,971 usages
- org.apache.spark » spark-core2,899 usages
- com.diffplug.spotless » spotless-maven-plugin2,873 usages
- org.bouncycastle » bcpkix-jdk15on2,867 usages
- org.wso2.maven » carbon-p2-plugin2,864 usages
- org.eclipse.jgit » org.eclipse.jgit2,222 usages
- com.android.tools.build » gradle2,197 usages
- org.bouncycastle » bcpkix-jdk18on2,109 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects NuGet (2 packages) . See all on OSV
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-30171
- Webhttps://github.com/bcgit/bc-csharp/commit/c984b8bfd8544dfc55dba91a02cbbbb9c580c217
- Webhttps://github.com/bcgit/bc-java/commit/d7d5e735abd64bf0f413f54fd9e495fc02400fb0
- Webhttps://github.com/bcgit/bc-java/commit/e0569dcb1dea9d421d84fc4c5c5688fe101afa2d
- Webhttps://github.com/bcgit/bc-csharp/wiki/CVE%E2%80%902024%E2%80%9030171
- Webhttps://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9030171
- Webhttps://security.netapp.com/advisory/ntap-20240614-0008
- Webhttps://www.bouncycastle.org/latest_releases.html
