Observable Timing Discrepancy Affecting pypqc package, versions [0.0.6,)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept

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-PYTHON-PYPQC-7216150
  • published6 Jun 2024
  • disclosed5 Jun 2024
  • creditJames E. A.

Introduced: 5 Jun 2024

CVE NOT AVAILABLE CWE-208  (opens in a new tab)

How to fix?

There is no fixed version for pypqc.

Overview

pypqc is a Python bindings for the "PQClean" post-quantum cryptography library.

Affected versions of this package are vulnerable to Observable Timing Discrepancy due to the decapsulation process. An attacker that is able to submit many decapsulation requests against a single private key and to gain timing information about the decapsulation, could recover the private key.

Notes:

  1. This is only exploitable for kyber512, kyber768 and kyber1024 on Mac OS or when compiled with clang.

  2. The 0.0.7 -> 0.0.7.1 upgrade, when available, should be a drop-in replacement.

References

CVSS Scores

version 3.1