CVE-2022-45146
Garbage collection issue in BC-FJA in Java 13 and later
Reported by mitre · Published November 21, 2022
bc-fips is fixed in 1.0.2.4 (Maven Central)
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 versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.bouncycastle:bc-fips | Maven Central | 1.0.2.4 |
| elasticsearch-8 | Chainguard | 8.12.1-r0 |
| fips_java_api | bouncycastle | 1.0.2.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Maven | org.bouncycastle:bc-fips | 0 |
| chainguard | elasticsearch-8 | 0 |
| wolfi | opensearch-2 | 0 |
| n/a | n/a | * |
| chainguard | elasticsearch-7 | 0 |
| chainguard | opensearch-2 | 0 |
Timeline
- Nov 21, 2022 CVE Published
- Nov 21, 2022 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Jun 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-45146
vulnetix vdb fixes CVE-2022-45146
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-45146/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart