GitHub Advisoryadvisory · Go
GHSA-f6jh-hvg2-9525 crystals-go vulnerable to KyberSlash (timing side-channel attack for Kyber)
HIGH
Official page ↗
- Ecosystem
- Go
- Packages
- github.com/kudelskisecurity/crystals-go
- Severity
- High
- Reviewed
- 2024-01-17
Affected packages
• Go github.com/kudelskisecurity/crystals-go: < 0.0.0-20240116172146-2a6ca2d4e64d → fixed in 0.0.0-20240116172146-2a6ca2d4e64d
Description
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/
References
- https://github.com/kudelskisecurity/crystals-go/security/advisories/GHSA-f6jh-hvg2-9525 web
- https://github.com/kudelskisecurity/crystals-go/issues/19 web
- https://github.com/kudelskisecurity/crystals-go/pull/20 web
- https://github.com/kudelskisecurity/crystals-go/pull/21 web
- https://github.com/kudelskisecurity/crystals-go/commit/2a6ca2d4e64d18dd6e8fbb4e48e22c2510118505 web
- https://github.com/kudelskisecurity/crystals-go package
- https://kyberslash.cr.yp.to/faq web