MODERATE 5.5

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)

ArtifactAffected versionsFixed in
org.bouncycastle » bc-fips
< 1.0.2.4
1.0.2.4

Blast radius

1affected artifacts
5affected versions
404dependent artifacts (est.)
29,859dependent versions

11% of the dependent artifacts (45) still pull an affected version in their latest release.

DepthDependent 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

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

Advisorynvd.nist.gov
Webgithub.com
Webmvnrepository.com
Webbouncycastle.org