Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bc-fips
  4. ›
  5. CVE-2022-45146

CVE-2022-45146: Garbage collection issue in BC-FJA in Java 13 and later

November 21, 2022 (updated November 22, 2022)

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.

References

  • github.com/advisories/GHSA-68m8-v89j-7j2p
  • github.com/bcgit/bc-java/wiki/CVE-2022-45146
  • nvd.nist.gov/vuln/detail/CVE-2022-45146
  • www.bouncycastle.org/latest_releases.html

Code Behaviors & Features

Detect and mitigate CVE-2022-45146 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.2.4

Fixed versions

  • 1.0.2.4

Solution

Upgrade to version 1.0.2.4 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Source file

maven/org.bouncycastle/bc-fips/CVE-2022-45146.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:45 +0000.