Vulnerability in Open-Quantum-Safe Liboqs
CVE-2024-36405
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (42.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 42.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Open-Quantum-Safe Liboqs — versions < 0.10.1
- Openquantumsafe Liboqs
Weakness classification (CWE)
References
- github.com/open-quantum-safe/liboqs/security/advisories/GHSA-f2v9-5498-2vpp (Patch, Vendor Advisory)
- github.com/open-quantum-safe/liboqs/commit/982c762c242ef549c914891b47bf6e0ed632… (Patch)
- github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c (Patch)
- github.com/open-quantum-safe/liboqs/blob/7eecda6095c003ddded7175a1ffdf35a2ce63e… (Product)
Frequently asked questions
- What is CVE-2024-36405?
- CVE-2024-36405 is a medium-severity vulnerability in Open-Quantum-Safe Liboqs, classified under CWE-208. CVSS score: 5.9/10. Published 2024-06-10.
- How severe is CVE-2024-36405?
- Medium severity. CVSS v3 base score is 5.9 out of 10.