Advisory

DEBIAN-CVE-2018-5382

Also known as: CVE-2018-5382

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4.4, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2018-04-16 14:29 UTC
Modified
2026-10-23 18:03 UTC

Affected packages and fixes

bouncycastle

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.48+dfsg-2 (ecosystem)

Fixed versions

1.48+dfsg-2

Fix

  • Fixed version 1.48+dfsg-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

bouncycastle

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.48+dfsg-2 (ecosystem)

Fixed versions

1.48+dfsg-2

Fix

  • Fixed version 1.48+dfsg-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

bouncycastle

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.48+dfsg-2 (ecosystem)

Fixed versions

1.48+dfsg-2

Fix

  • Fixed version 1.48+dfsg-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences