Advisory

GHSA-f6jh-hvg2-9525

Also known as: GO-2024-2469

Summary

crystals-go vulnerable to KyberSlash (timing side-channel attack for Kyber)

Details

Impact
On some platforms, when an attacker can time decapsulation of Kyber on forged cipher texts, they could possibly learn (parts of) the secret key.

Patches
Patched in https://github.com/kudelskisecurity/crystals-go/pull/21

Note
This library was written as part of a MsC student project in the Cybersecurity Team at Kudelski Security. It is not actively maintained anymore. It is only intended for research and testing. We discourage its use in any production environment. Kudelski Security does not use this library as part of their commercial offers or product. This has now been clarified on the project's README.

References
https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/ldX0ThYJuBo
http://kyberslash.cr.yp.to/

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-01-17 22:06 UTC
Modified
2024-05-20 22:05 UTC

Affected packages and fixes

github.com/kudelskisecurity/crystals-go

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20240116172146-2a6ca2d4e64d (semver)

Fixed versions

0.0.0-20240116172146-2a6ca2d4e64d

Fix

  • Fixed version 0.0.0-20240116172146-2a6ca2d4e64d
    go get github.com/kudelskisecurity/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences