Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-45146 EUVD-2022-7255GHSA-68m8-v89j-7j2p

Garbage collection issue in BC-FJA in Java 13 and later

Published Nov 21, 2022 · Updated Aug 3, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling opensearch-2 2.11.1-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.bouncycastle:bc-fips < 1.0.2.4 1.0.2.4 GHSA-68m8-v89j-7j2p

Advisories 1

References