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

    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 ID SNYK-PYTHON-PYPQC-7216150
  • published 6 Jun 2024
  • disclosed 5 Jun 2024
  • credit James E. A.

Introduced: 5 Jun 2024

New CVE NOT AVAILABLE CWE-208 Open this link 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
Expand this section

Snyk

8.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    None