CVE-2024-14041 ML-KEM (Kyber) decapsulation leaks private key information through non-constant-time division in message decoding and ciphertext compression (KyberSlash)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
In Bouncy Castle for Java from 1.73 to before 1.78, three ML-KEM (CRYSTALS-Kyber) routines divided secret-derived polynomial coefficients by the modulus q: Poly.toMsg, which decodes the decrypted message, and the ciphertext compression routines Poly.compressPoly and PolyVec.compressPolyVec. An attacker able to measure the timing of a large number of decapsulations performed with the same long-term private key can recover that key. These are the KyberSlash1 (Poly.toMsg) and KyberSlash2 (ciphertext compression) divisions. Compression performed during encapsulation operates on values that become the public ciphertext and is not affected.
Upgrade path
13 packages: 4 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/bouncycastle(Debian 12) | = 1.72-2; = 1.77-1; = 1.80-1; = 1.80-2 +4 more | No fix listed | No fix yet |
| redhat/bcprov-jdk18on(Red Hat jbosseapxp) | All versions | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu Pro 16.04) | = 1.49+dfsg-3ubuntu1; = 1.51-4ubuntu1; = 1.51-4ubuntu1+esm1; All versions | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu Pro 18.04) | = 1.57-1; = 1.58-1; = 1.59-1; = 1.59-1ubuntu0.1~esm1 +1 more | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu Pro 20.04) | = 1.61-1; = 1.61-1ubuntu0.1~esm1; All versions | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu Pro 22.04) | = 1.68-2; = 1.68-4; = 1.68-5; = 1.68-5ubuntu0.1~esm1 +1 more | No fix listed | No fix yet |
| ubuntu/bouncycastle(Ubuntu Pro 24.04) | = 1.72-2; = 1.77-1; = 1.77-1ubuntu0.1~esm1; All versions | No fix listed | No fix yet |
| bouncycastle bc-java | >= 1.73, < 1.78 | 1.78 | Fixed |
| debian/bouncycastle(Debian 13) | < 1.80-1 | 1.80-1 | Fixed |
| debian/bouncycastle(Debian 14) | < 1.80-1 | 1.80-1 | Fixed |
| org.bouncycastle/bcprov-jdk18on | >= 1.73, < 1.78 | 1.78 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/bouncycastle(Debian:12) | All versions | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.72-2 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.77-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-2 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.80-3 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.86-1 | No fix listed |
| debian/bouncycastle(Debian:12) | = 1.86.2-1 | No fix listed |
| debian/bouncycastle(Debian:13) | < 1.80-1 | 1.80-1 |
| debian/bouncycastle(Debian:14) | < 1.80-1 | 1.80-1 |
| redhat/bcprov-jdk18on(Red Hat:jbosseapxp) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:22.04) | All versions | No fix listed |
| org.bouncycastle/bcprov-jdk18on | >= 1.73, < 1.78 | 1.78 |
| ubuntu/bouncycastle(Ubuntu:24.04) | All versions | No fix listed |
| bouncycastle bc-java | >= 1.73, < 1.78 | 1.78 |
| ubuntu/bouncycastle(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:16.04) | = 1.49+dfsg-3ubuntu1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:16.04) | = 1.51-4ubuntu1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:16.04) | = 1.51-4ubuntu1+esm1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:18.04) | = 1.57-1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:18.04) | = 1.58-1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:18.04) | = 1.59-1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:18.04) | = 1.59-1ubuntu0.1~esm1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:20.04) | All versions | No fix listed |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/bouncycastle(Ubuntu:Pro:20.04) | = 1.61-1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:20.04) | = 1.61-1ubuntu0.1~esm1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:22.04) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:22.04) | = 1.68-2 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:22.04) | = 1.68-4 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:22.04) | = 1.68-5 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:22.04) | = 1.68-5ubuntu0.1~esm1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:24.04) | All versions | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:24.04) | = 1.72-2 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:24.04) | = 1.77-1 | No fix listed |
| ubuntu/bouncycastle(Ubuntu:Pro:24.04) | = 1.77-1ubuntu0.1~esm1 | No fix listed |
References
- Debian Security Tracker CVE-2024-14041 vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2507933 issue-tracking
- www.cve.org issue-tracking
- nvd.nist.gov
- github.com issue-tracking patch
- github.com issue-tracking patch
- github.com issue-tracking vendor-advisory
- kyberslash.cr.yp.to exploit issue-tracking technical-description
- Ubuntu CVE tracker issue-tracking vendor-advisory
- ENISA EUVD EUVD-2024-55702 third-party-advisory