Vulnerability Description
The Kyber reference implementation before 9b8d306, when compiled by LLVM Clang through 18.x with some common optimization options, has a timing side channel that allows attackers to recover an ML-KEM 512 secret key in minutes. This occurs because poly_frommsg in poly.c does not prevent Clang from emitting a vulnerable secret-dependent branch.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pq-Crystals | Kyber | < 2024-06-03 |
Related Weaknesses (CWE)
References
- https://github.com/antoonpurnal/clangoverExploit
- https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11ePatch
- https://news.ycombinator.com/item?id=40577486Not Applicable
- https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-ExploitThird Party Advisory
- https://twitter.com/purnaltoon/status/1797644696568959476Exploit
- https://github.com/antoonpurnal/clangoverExploit
- https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11ePatch
- https://news.ycombinator.com/item?id=40577486Not Applicable
- https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-ExploitThird Party Advisory
- https://twitter.com/purnaltoon/status/1797644696568959476Exploit
FAQ
What is CVE-2024-37880?
CVE-2024-37880 is a vulnerability with a CVSS score of 7.5 (HIGH). The Kyber reference implementation before 9b8d306, when compiled by LLVM Clang through 18.x with some common optimization options, has a timing side channel that allows attackers to recover an ML-KEM ...
How severe is CVE-2024-37880?
CVE-2024-37880 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-37880?
Check the references section above for vendor advisories and patch information. Affected products include: Pq-Crystals Kyber.