Garbage collection issue in BC-FJA in Java 13 and later
Moderate severity
GitHub Reviewed
Published
Nov 21, 2022
to the GitHub Advisory Database
•
Updated Feb 13, 2024
Description
Published by the National Vulnerability Database
Nov 21, 2022
Published to the GitHub Advisory Database
Nov 21, 2022
Reviewed
Nov 22, 2022
Last updated
Feb 13, 2024
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.
References