CVE-2022-45146

Garbage collection issue in BC-FJA in Java 13 and later in maven/org.bouncycastle/bc-fips

Identifiers

GHSA-68m8-v89j-7j2p, CVE-2022-45146

Package Slug

maven/org.bouncycastle/bc-fips

Vulnerability

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 Versions

All versions before 1.0.2.4

Solution

Upgrade to version 1.0.2.4 or above.

Last Modified

2022-11-22

source