liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. A control-flow timing lean has been identified in the reference implementation of the Kyber key encapsulation mechanism when it is compiled with Clang 15-18 for `-Os`, `-O1`, and other compilation options. A proof-of-concept local attack on the reference implementation leaks the entire ML-KEM 512 secret key in ~10 minutes using end-to-end decapsulation timing measurements. The issue has been fixed in version 0.10.1. As a possible workaround, some compiler options may produce vectorized code that does not leak secret information, however relying on these compiler options as a workaround may not be reliable.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-06-10T12:47:17.934Z

Updated: 2024-08-02T03:37:05.189Z

Reserved: 2024-05-27T15:59:57.031Z

Link: CVE-2024-36405

cve-icon Vulnrichment

Updated: 2024-08-02T03:37:05.189Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-06-10T13:15:50.700

Modified: 2024-11-21T09:22:06.647

Link: CVE-2024-36405

cve-icon Redhat

No data.