CVE-2024-37880
Pq-crystals Kyber vulnerability
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.
Affected products
Kyber. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pq-crystals Kyber runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c · Patch
- pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-mat · Exploit
- github.com/antoonpurnal/clangover · Exploit
- twitter.com/purnaltoon/status/1797644696568959476 · Exploit
- news.ycombinator.com/item?id=40577486
- nvd.nist.gov/vuln/detail/CVE-2024-37880
- cve.org/CVERecord?id=CVE-2024-37880
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.