CVE-2024-37880

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:pq-crystals:kyber:*:*:*:*:*:*:*:*

History

21 Nov 2024, 09:24

Type Values Removed Values Added
References () https://github.com/antoonpurnal/clangover - Exploit () https://github.com/antoonpurnal/clangover - Exploit
References () https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c - Patch () https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c - Patch
References () https://news.ycombinator.com/item?id=40577486 - Not Applicable () https://news.ycombinator.com/item?id=40577486 - Not Applicable
References () https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/ - Exploit, Third Party Advisory () https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/ - Exploit, Third Party Advisory
References () https://twitter.com/purnaltoon/status/1797644696568959476 - Exploit () https://twitter.com/purnaltoon/status/1797644696568959476 - Exploit

12 Jun 2024, 16:30

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
Summary
  • (es) La implementación de referencia de Kyber anterior a 9b8d306, cuando la compila LLVM Clang hasta 18.x con algunas opciones de optimización comunes, tiene un canal lateral de temporización que permite a los atacantes recuperar una clave secreta ML-KEM 512 en minutos. Esto ocurre porque poly_frommsg en poly.c no impide que Clang emita una rama vulnerable dependiente de un secreto.
CPE cpe:2.3:a:pq-crystals:kyber:*:*:*:*:*:*:*:*
CWE CWE-203
First Time Pq-crystals
Pq-crystals kyber
References () https://github.com/antoonpurnal/clangover - () https://github.com/antoonpurnal/clangover - Exploit
References () https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c - () https://github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c - Patch
References () https://news.ycombinator.com/item?id=40577486 - () https://news.ycombinator.com/item?id=40577486 - Not Applicable
References () https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/ - () https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/ - Exploit, Third Party Advisory
References () https://twitter.com/purnaltoon/status/1797644696568959476 - () https://twitter.com/purnaltoon/status/1797644696568959476 - Exploit

10 Jun 2024, 02:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-10 02:15

Updated : 2024-11-21 09:24


NVD link : CVE-2024-37880

Mitre link : CVE-2024-37880

CVE.ORG link : CVE-2024-37880


JSON object : View

Products Affected

pq-crystals

  • kyber
CWE
CWE-203

Observable Discrepancy