CVE & CISA-KEV Catalog

CVE-2018-5382

MEDIUM
4.4
CVSS v3
NVD

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.

How to fix

Remediation Available
bouncycastleDebian
Fixed in:1.48+dfsg-2CVE-2018-5382
Fixed in:1.48+dfsg-2CVE-2018-5382
Fixed in:1.48+dfsg-2CVE-2018-5382
Fixed in:1.48+dfsg-2CVE-2018-5382

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

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

Exploit Intelligence

0.26%probability of exploitation in 30 days
18thpercentile

Low risk: more likely to be exploited than 18% of all known CVEs.

References

Embed a live status badge for CVE-2018-5382
CVE-2018-5382 severity badge

Markdown

[![CVE-2018-5382](https://tridentstack.com/cve/badge/CVE-2018-5382.svg)](https://tridentstack.com/cve/CVE-2018-5382)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-5382"><img src="https://tridentstack.com/cve/badge/CVE-2018-5382.svg" alt="CVE-2018-5382"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-05-12.