Vulnerability DatabaseGHSA-x5j2-g63m-f8g4

GHSA-x5j2-g63m-f8g4
Rust vulnerability analysis and mitigation

Overview

KyberSlash (GHSA-x5j2-g63m-f8g4) is a high-severity vulnerability affecting Kyber software libraries, particularly the pqc_kyber crate versions <= 0.7.1. The vulnerability was discovered in December 2023 and publicly disclosed on February 9, 2024. The issue involves timing-based information leakage in various Kyber implementations where secret information can be exposed through CPU cycle variations during division operations (GitHub Advisory, RustSec Advisory).

Technical details

The vulnerability stems from code that performs division operations where a secret numerator is divided by a public denominator. The timing of these CPU division operations varies depending on the input values, creating a potential side-channel that could leak sensitive information. The vulnerability has been assigned a CVSS v3.1 score of 7.4 (High), with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, indicating network attack vector, high attack complexity, no privileges required, and potential impact on confidentiality and integrity (GitHub Advisory).

Impact

The vulnerability can lead to the exposure of secret information through timing side-channels, potentially compromising the security of the cryptographic implementation. This affects both confidentiality and integrity of the system, though availability remains unaffected (GitHub Advisory, RustSec Advisory).

Mitigation and workarounds

Currently, there are no patched versions of the original pqckyber crate. However, a third-party fork called safepqc_kyber has been published that mitigates this attack vector. Additionally, the ml-kem crate is suggested as a maintained alternative pure Rust implementation of ML-KEM/Kyber (RustSec Advisory).

Community reactions

The vulnerability was documented by Daniel J. Bernstein, who authored the KyberSlash pages and maintains the permanent reference at kyberslash.cr.yp.to. The issue has gained attention in the cryptographic community, leading to various implementations being reviewed and updated (RustSec Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management