CVE-2018-5382 Details
Description
The default BKS keystore use an HMAC that is only 16 bits long, which can allow an attacker to compromise the integrity of a BKS keystore. Bouncy Castle release 1.47 changes the BKS format to a format which uses a 160 bit HMAC instead. This applies to any BKS keystore generated prior to BC 1.47. For situations where people need to create the files for legacy reasons a specific keystore type "BKS-V1" was introduced in 1.49. It should be noted that the use of "BKS-V1" is discouraged by the library authors and should only be used where it is otherwise safe to do so, as in where the use of a 16 bit checksum for the file integrity check is not going to cause a security issue in itself.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2018:2927 | CVE | Third Party Advisory |
| https://www.bouncycastle.org/releasenotes.html | CVE | Release NotesVendor Advisory |
| https://www.kb.cert.org/vuls/id/306792 | CVE | Third Party AdvisoryUS Government Resource |
| https://www.oracle.com/security-alerts/cpuoct2020.html | CVE | Third Party Advisory |
| http://www.securityfocus.com/bid/103453 | CVE | Third Party AdvisoryVDB Entry |
| https://access.redhat.com/errata/RHSA-2018:2927 | [email protected] | Third Party Advisory |
| https://www.bouncycastle.org/releasenotes.html | [email protected] | Release NotesVendor Advisory |
| https://www.kb.cert.org/vuls/id/306792 | [email protected] | Third Party AdvisoryUS Government Resource |
| https://www.oracle.com/security-alerts/cpuoct2020.html | [email protected] | Third Party Advisory |
| http://www.securityfocus.com/bid/103453 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-354 | Improper Validation of Integrity Check Value | [email protected] |
| CWE-327 | Use of a Broken or Risky Cryptographic Algorithm | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bouncycastle bc-java | <= 1.49 |
CPE
Remediation
| |
| redhat satellite | 6.4 |
CPE
Remediation
| |
| redhat satellite capsule | 6.4 |
CPE
Remediation
| |
Change History
13 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 12, 2025 | CPE Deprecation Remap | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 20, 2022 | Reanalysis | [email protected] |
| Apr 21, 2021 | Modified Analysis | [email protected] |
| Apr 2, 2021 | CVE Modified | [email protected] |
| Oct 20, 2020 | CVE Modified | [email protected] |
| Oct 9, 2019 | CVE Modified | [email protected] |
| Oct 3, 2019 | CWE Remap | [email protected] |
| Oct 17, 2018 | CVE Modified | [email protected] |
| May 22, 2018 | Initial Analysis | [email protected] |
| Apr 18, 2018 | CVE Modified | [email protected] |