CVE-2024-37880
Apache Kyber Timed Side Channel Leakage
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.
INFO
Published Date :
June 10, 2024, 2:15 a.m.
Last Modified :
Nov. 21, 2024, 9:24 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-37880
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-37880
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-37880
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/antoonpurnal/clangover Added Reference https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c Added Reference https://news.ycombinator.com/item?id=40577486 Added Reference https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/ Added Reference https://twitter.com/purnaltoon/status/1797644696568959476 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 01, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-203 Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N -
Initial Analysis by [email protected]
Jun. 12, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/antoonpurnal/clangover No Types Assigned https://github.com/antoonpurnal/clangover Exploit Changed Reference Type https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c No Types Assigned https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c Patch Changed Reference Type https://news.ycombinator.com/item?id=40577486 No Types Assigned https://news.ycombinator.com/item?id=40577486 Not Applicable Changed Reference Type https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/ No Types Assigned https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/ Exploit, Third Party Advisory Changed Reference Type https://twitter.com/purnaltoon/status/1797644696568959476 No Types Assigned https://twitter.com/purnaltoon/status/1797644696568959476 Exploit Added CWE NIST CWE-203 Added CPE Configuration OR *cpe:2.3:a:pq-crystals:kyber:*:*:*:*:*:*:*:* versions up to (excluding) 2024-06-03 -
CVE Received by [email protected]
Jun. 10, 2024
Action Type Old Value New Value Added 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. Added Reference MITRE https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/ [No types assigned] Added Reference MITRE https://github.com/antoonpurnal/clangover [No types assigned] Added Reference MITRE https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c [No types assigned] Added Reference MITRE https://news.ycombinator.com/item?id=40577486 [No types assigned] Added Reference MITRE https://twitter.com/purnaltoon/status/1797644696568959476 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-37880
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-37880
weaknesses.