Search for vulnerabilities
Vulnerability details: VCID-a8mw-s4pr-aaab
Vulnerability ID VCID-a8mw-s4pr-aaab
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 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
generic_textual Medium http://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-5382.html
rhas Important 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.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.00063 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00063 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00063 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00063 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00063 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00070 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00071 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00071 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00071 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00071 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00139 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00139 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
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
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.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.0034 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
epss 0.00346 https://api.first.org/data/v1/epss?cve=CVE-2018-5382
rhbs low https://bugzilla.redhat.com/show_bug.cgi?id=1563749
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5382
cvssv3.1_qr MODERATE https://github.com/advisories/GHSA-8477-3v39-ggpm
generic_textual Medium https://insights.sei.cmu.edu/cert/2018/03/the-curious-case-of-the-bouncy-castle-bks-passwords.html
cvssv2 3.6 https://nvd.nist.gov/vuln/detail/CVE-2018-5382
cvssv3 4.4 https://nvd.nist.gov/vuln/detail/CVE-2018-5382
cvssv3.1 4.4 https://nvd.nist.gov/vuln/detail/CVE-2018-5382
cvssv3.1 8.1 https://www.bouncycastle.org/releasenotes.html
generic_textual HIGH 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 9.8 https://www.oracle.com/security-alerts/cpuoct2020.html
generic_textual CRITICAL 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
Reference id Reference type URL
http://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-5382.html
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-5382.json
https://api.first.org/data/v1/epss?cve=CVE-2018-5382
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5382
https://github.com/bcgit/bc-java/commit/81b00861cd5711e85fe8dce2a0e119f684120255
https://insights.sei.cmu.edu/cert/2018/03/the-curious-case-of-the-bouncy-castle-bks-passwords.html
https://www.bouncycastle.org/releasenotes.html
https://www.kb.cert.org/vuls/id/306792
https://www.oracle.com/security-alerts/cpuoct2020.html
http://www.securityfocus.com/bid/103453
1563749 https://bugzilla.redhat.com/show_bug.cgi?id=1563749
cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:bouncycastle:bc-java:*:*:*:*:*:*:*:*
cpe:2.3:a:bouncycastle:legion-of-the-bouncy-castle-java-crytography-api:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:bouncycastle:legion-of-the-bouncy-castle-java-crytography-api:*:*:*:*:*:*:*:*
cpe:2.3:a:redhat:satellite:6.4:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:satellite:6.4:*:*:*:*:*:*:*
cpe:2.3:a:redhat:satellite_capsule:6.4:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:redhat:satellite_capsule:6.4:*:*:*:*:*:*:*
CVE-2018-5382 https://nvd.nist.gov/vuln/detail/CVE-2018-5382
GHSA-8477-3v39-ggpm https://github.com/advisories/GHSA-8477-3v39-ggpm
RHSA-2018:2927 https://access.redhat.com/errata/RHSA-2018:2927
No exploits are available.
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://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:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 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:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 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.09325
EPSS Score 0.00036
Published At May 1, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
There are no relevant records.