Use After Free in Bouncycastle Fips Java API
CVE-2022-45146
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (38.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 39th percentile — 38.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
Weakness classification (CWE)
References
- www.bouncycastle.org/latest_releases.html (Release Notes, Vendor Advisory)
- github.com/bcgit/bc-java/wiki/CVE-2022-45146 (Exploit, Third Party Advisory)
- mvnrepository.com/artifact/org.bouncycastle/bc-fips
Frequently asked questions
- What is CVE-2022-45146?
- CVE-2022-45146 is a medium-severity vulnerability in Bouncycastle Fips Java API, classified under Use After Free. CVSS score: 5.5/10. Published 2022-11-21.
- How severe is CVE-2022-45146?
- Medium severity. CVSS v3 base score is 5.5 out of 10.