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://www.bouncycastle.org/latest_releases.html
https://github.com/bcgit/bc-java/wiki/CVE-2022-45146
https://mvnrepository.com/artifact/org.bouncycastle/bc-fips
Related Vulnerabilities
CVE-2023-49800 Vulnerability in npm package nuxt-api-party
CVE-2020-2214 Vulnerability in maven package org.jenkins-ci.plugins:zap-pipeline
CVE-2022-31023 Vulnerability in maven package com.typesafe.play:play_2.12
CVE-2022-37265 Vulnerability in npm package steal
CVE-2020-1935 Vulnerability in maven package org.apache.tomcat:tomcat-coyote