Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/kudelskisecurity/crystals-go
  4. ›
  5. GMS-2024-36

GMS-2024-36: crystals-go vulnerable to KyberSlash (timing side-channel attack for Kyber)

January 17, 2024

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

  • github.com/advisories/GHSA-f6jh-hvg2-9525
  • github.com/kudelskisecurity/crystals-go/commit/2a6ca2d4e64d18dd6e8fbb4e48e22c2510118505
  • github.com/kudelskisecurity/crystals-go/issues/19
  • github.com/kudelskisecurity/crystals-go/pull/20
  • github.com/kudelskisecurity/crystals-go/pull/21
  • github.com/kudelskisecurity/crystals-go/security/advisories/GHSA-f6jh-hvg2-9525
  • kyberslash.cr.yp.to/faq

Code Behaviors & Features

Detect and mitigate GMS-2024-36 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20240116172146-2a6ca2d4e64d

Fixed versions

  • v0.0.0-20240116172146-2a6ca2d4e64d

Solution

Upgrade to version 0.0.0-20240116172146-2a6ca2d4e64d or above.

Source file

go/github.com/kudelskisecurity/crystals-go/GMS-2024-36.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.