Vulnerability · Published Nov 21, 2022 · Assigned by mitre

CVE-2022-45146

Medium 5.5

In plain English

A medium-severity security flaw in the org.bouncycastle:bc-fips package (Maven). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.4%top 61.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.bouncycastle:bc-fips1.0.2.4GHSA-68m8-v89j-7j2p
Ubuntu:22.04:LTSbouncycastleno fix listedUBUNTU-CVE-2022-45146
Ubuntu:24.04:LTSbouncycastleno fix listedUBUNTU-CVE-2022-45146
Ubuntu:25.10bouncycastleno fix listedUBUNTU-CVE-2022-45146

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References