Search for vulnerabilities
Vulnerability details: VCID-jxz5-rdte-r3gr
Vulnerability ID VCID-jxz5-rdte-r3gr
Aliases CVE-2018-5382
GHSA-8477-3v39-ggpm
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 6.2
Risk 3.1
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
cvssv3.1 4.4 https://access.redhat.com/errata/RHSA-2018:2927
generic_textual MODERATE https://access.redhat.com/errata/RHSA-2018:2927
cvssv3 5.1 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-5382.json
epss 0.00036 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00036 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00036 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00189 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
cvssv3.1_qr MODERATE https://github.com/advisories/GHSA-8477-3v39-ggpm
cvssv2 3.6 https://nvd.nist.gov/vuln/detail/CVE-2018-5382
cvssv3.1 4.4 https://nvd.nist.gov/vuln/detail/CVE-2018-5382
generic_textual MODERATE https://nvd.nist.gov/vuln/detail/CVE-2018-5382
cvssv3.1 4.4 https://www.bouncycastle.org/releasenotes.html
generic_textual MODERATE https://www.bouncycastle.org/releasenotes.html
cvssv3.1 4.4 https://www.kb.cert.org/vuls/id/306792
generic_textual MODERATE https://www.kb.cert.org/vuls/id/306792
cvssv3.1 4.4 https://www.oracle.com/security-alerts/cpuoct2020.html
generic_textual MODERATE https://www.oracle.com/security-alerts/cpuoct2020.html
cvssv3.1 4.4 http://www.securityfocus.com/bid/103453
generic_textual MODERATE http://www.securityfocus.com/bid/103453
No exploits are available.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Found at https://access.redhat.com/errata/RHSA-2018:2927
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-5382.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:L/AC:L/Au:N/C:P/I:P/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2018-5382
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2018-5382
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Found at https://www.bouncycastle.org/releasenotes.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Found at https://www.kb.cert.org/vuls/id/306792
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Found at https://www.oracle.com/security-alerts/cpuoct2020.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Found at http://www.securityfocus.com/bid/103453
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.09087
EPSS Score 0.00036
Published At Aug. 1, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T07:58:43.902660+00:00 ProjectKB MSRImporter Import https://raw.githubusercontent.com/SAP/project-kb/master/MSR2019/dataset/vulas_db_msr2019_release.csv 37.0.0