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.
Remediation
References
https://github.com/bcgit/bc-java/wiki/CVE-2022-45146
https://mvnrepository.com/artifact/org.bouncycastle/bc-fips
https://www.bouncycastle.org/latest_releases.html
Related Vulnerabilities
CVE-2022-31167 Vulnerability in maven package org.xwiki.platform:xwiki-platform-security
CVE-2022-31160 Vulnerability in maven package org.fujion.webjars:jquery-ui
CVE-2019-10791 Vulnerability in npm package promise-probe
CVE-2022-38750 Vulnerability in maven package org.yaml:snakeyaml
CVE-2020-14966 Vulnerability in maven package org.webjars.npm:jsrsasign