4.4

CVE-2018-5382: bouncycastle bc-java

CVSS: 4.4v3.1MediumModified
AliasesUBUNTU-CVE-2018-5382DEBIAN-CVE-2018-5382CGA-252f-f9r9-p7r8
Published 16-04-2018Last modified 16-09-2024

Vulnerability summary

CVE-2018-5382 is a medium (CVSS 4.4) vulnerability in bouncycastle bc-java. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 16.6% of scored vulnerabilities.

Overall risk
18/100
0100
Low · default modelHow is this calculated?
CVSS score
4.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 16-04-2018
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 5 sources · 3 versions

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

0.00 pp

From 0.26% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.26%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard3 products
  • hadoop-fips-3.3.6All versions (No fix recorded)
  • hadoop-fips-3.4.2All versions (No fix recorded)
  • hadoop-fips-3.5All versions (No fix recorded)
Redhat2 products
Bouncycastle1 product
Debian1 product
  • bouncycastle< 1.48+dfsg-2
Legion of the bouncy castle1 product
Org.bouncycastle1 product
  • bcprov-jdk15on< 1.50
Ubuntu1 product
  • bouncycastle< 1.49+dfsg-2 | < 1.51-4ubuntu1

7 vendors · 10 products

References

10 links