GHSA-hvh4-5qr6-3v7r

Suggest an improvement
Source
https://github.com/advisories/GHSA-hvh4-5qr6-3v7r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-hvh4-5qr6-3v7r/GHSA-hvh4-5qr6-3v7r.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-hvh4-5qr6-3v7r
Published
2024-06-05T16:56:35Z
Modified
2024-12-02T05:32:05.614456Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C CVSS Calculator
Summary
Observable Timing Discrepancy in pypqc
Details

Impact

kyber512, kyber768, and kyber1024 on Mac OS (or when compiled with clang) only: An attacker able to submit many decapsulation requests against a single private key, and to gain timing information about the decapsulation, could recover the private key. Proof-of-concept exploit exists for a local attacker.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C

Patches

No patch is currently available / pending upstream PQClean#556.

Workarounds

No workarounds have been reported. The 0.0.7 -> 0.0.7.1 upgrade, when available, should be a drop-in replacement<!--; it has no known breaking changes-->.

References

https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/

https://github.com/antoonpurnal/clangover

https://www.github.com/PQClean/PQClean/issues/556

https://www.github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-385",
        "CWE-733"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-06-05T16:56:35Z"
}
References

Affected packages

PyPI / pypqc

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.0.4
Last affected
0.0.6.2

Affected versions

0.*

0.0.6
0.0.6.post1
0.0.6.1
0.0.6.1.post1
0.0.6.2rc1
0.0.6.2