{"id":"GHSA-hvh4-5qr6-3v7r","summary":"Observable Timing Discrepancy in pypqc","details":"### Impact\n`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.\n\nCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C  \n\n### Patches\nNo patch is currently available / pending upstream [PQClean#556](https://github.com/PQClean/PQClean/issues/556).\n\n### Workarounds\nNo workarounds have been reported. The 0.0.7 -\u003e 0.0.7.1 upgrade, when available, should be a drop-in replacement\u003c!--; it has no known breaking changes--\u003e.\n\n### References\n\nhttps://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity/\n\nhttps://github.com/antoonpurnal/clangover\n\nhttps://www.github.com/PQClean/PQClean/issues/556\n\nhttps://www.github.com/pq-crystals/kyber/commit/9b8d30698a3e7449aeb34e62339d4176f11e3c6c","modified":"2024-12-02T05:45:16.665631Z","published":"2024-06-05T16:56:35Z","database_specific":{"github_reviewed_at":"2024-06-05T16:56:35Z","nvd_published_at":null,"cwe_ids":["CWE-385","CWE-733"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/JamesTheAwesomeDude/pypqc/security/advisories/GHSA-hvh4-5qr6-3v7r"},{"type":"WEB","url":"https://github.com/PQClean/PQClean/issues/556"},{"type":"PACKAGE","url":"https://github.com/JamesTheAwesomeDude/pypqc"}],"affected":[{"package":{"name":"pypqc","ecosystem":"PyPI","purl":"pkg:pypi/pypqc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.4"},{"last_affected":"0.0.6.2"}]}],"versions":["0.0.6","0.0.6.1","0.0.6.1.post1","0.0.6.2","0.0.6.2rc1","0.0.6.post1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-hvh4-5qr6-3v7r/GHSA-hvh4-5qr6-3v7r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"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"}]}