[Bug 1088257] New: VUL-1: CVE-2018-5382: bouncycastle: BKS-V1 keystore files vulnerable to trivial hash collisions
http://bugzilla.opensuse.org/show_bug.cgi?id=1088257 Bug ID: 1088257 Summary: VUL-1: CVE-2018-5382: bouncycastle: BKS-V1 keystore files vulnerable to trivial hash collisions Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other URL: https://smash.suse.de/issue/203105/ OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Security Assignee: pmonrealgonzalez@suse.com Reporter: kbabioch@suse.com QA Contact: security-team@suse.de Found By: Security Response Team Blocker: --- Affected versions of the package are vulnerable to Hash Collision due to an error in the BKS version 1 keystore files. BKS is a keystore format, designed to function similarly to a Sun/Oracle JKS keystore. BKS files can contain public keys, private keys and certificates, and they rely on a password-based encryption to provide confidentiality and integrity protections to the keystore contents. The first version of a BKS file (aka BKS-V1) contained a design flaw when determining the key size used to protect the keystore data. It used the SHA-1 hash function, which is 160 bits in length. In a RFC7292-compliant cryptographic algorithm, the MAC key size should be the same size as the hash function being used, meaning that the MAC key size should be 160 bits long for BKS files. However, Bouncy Castle BKS-V1 files uses only 16 bits for the MAC key size. Regardless of the complexity of the password, ghe BKS-V1 file will have merely 65,536 different encryption keys. An attacker may bruteforce this password in a matter of seconds by testing all 65K values. References: https://insights.sei.cmu.edu/cert/2018/03/the-curious-case-of-the-bouncy-cas... https://www.kb.cert.org/vuls/id/306792 References: https://bugzilla.redhat.com/show_bug.cgi?id=1563749 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-5382 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1088257
http://bugzilla.opensuse.org/show_bug.cgi?id=1088257#c1
Karol Babioch
participants (1)
-
bugzilla_noreply@novell.com