Observable Timing Discrepancy Affecting open-quantum-safe/liboqs package, versions [,0.10.1-rc1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENQUANTUMSAFELIBOQS-7251686
  • published13 Jun 2024
  • disclosed10 Jun 2024
  • creditAntoon Purnal

Introduced: 10 Jun 2024

CVE-2024-36405  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade open-quantum-safe/liboqs to version 0.10.1-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Observable Timing Discrepancy that can leak a KEM secret key, when certain Clang versions and certain compiler options are in use. Forcing vectorized output works around the effects of this vulnerability.

The combination of conditions under which this leak has been reproduced are:

  • Clang versions 15, 16, 17, or 18

  • x86 compilation

  • -Os, -O1, -O2 -fno-vectorize, or -O3 -fno-vectorize options

CVSS Scores

version 3.1