Vulnerability in Bouncycastle Bc-Java

CVE-2018-5382

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.

Vulnerability class: POODLE (CVE-2014-3566)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.

EPSS exploit prediction

EPSS: 0.003 (16.8th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 17th percentile — 16.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-5382: held from 0.003 to 0.003.

EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: -0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-5382?
CVE-2018-5382 is a medium-severity vulnerability in Bouncycastle Bc-Java, classified under Use of a Broken or Risky Cryptographic Algorithm. CVSS score: 4.4/10. Published 2018-04-16.
How severe is CVE-2018-5382?
Medium severity. CVSS v3 base score is 4.4 out of 10.
Is CVE-2018-5382 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.