CVE-2022-45146
Garbage collection issue in BC-FJA in Java 13 and later
Description
An issue was discovered in the FIPS Java API of Bouncy Castle BC-FJA before 1.0.2.4. Changes to the JVM garbage collector in Java 13 and later trigger an issue in the BC-FJA FIPS modules where it is possible for temporary keys used by the module to be zeroed out while still in use by the module, resulting in errors or potential information loss.
NOTE: FIPS compliant users are unaffected because the FIPS certification is only for Java 7, 8, and 11.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.bouncycastle » bc-fips | < 1.0.2.4 | 1.0.2.4 |
Blast radius
11% of the dependent artifacts (45) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,124 |
| 2 hops | 6,911 |
| 3 hops | 11,501 |
| 4 hops | 7,097 |
| 5 hops | 2,022 |
| 6 hops | 204 |
Most used dependents
- org.apache.bookkeeper » bookkeeper-server83 usages
- org.openidentityplatform.openam » openam-core53 usages
- org.apache.pulsar » pulsar-broker49 usages
- org.apache.pulsar » managed-ledger38 usages
- org.apache.pulsar » testmocks37 usages
- io.streamnative » pulsar-broker34 usages
- io.streamnative » testmocks34 usages
- org.openidentityplatform.openam » openam-shared31 usages
- org.apache.distributedlog » distributedlog-core30 usages
- io.streamnative » bookkeeper-server26 usages
- org.apache.pulsar » pulsar-broker-common23 usages
- com.datastax.oss » bookkeeper-server23 usages
- org.openidentityplatform.opendj » opendj-core22 usages
- com.datastax.oss » testmocks19 usages
- io.streamnative » pulsar-broker-common18 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.
References
| Advisory | NVD CVE-2022-45146 | nvd.nist.gov |
| Web | bcgit/bc-java/wiki/CVE-2022-45146 | github.com |
| Web | artifact/org.bouncycastle/bc-fips | mvnrepository.com |
| Web | latest_releases.html | bouncycastle.org |
