Observable Timing Discrepancy Affecting pypqc package, versions [0.0.6,)
Threat Intelligence
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.
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:
This is only exploitable for
kyber512
,kyber768
andkyber1024
on Mac OS or when compiled with clang.The 0.0.7 -> 0.0.7.1 upgrade, when available, should be a drop-in replacement.