
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A correctness error has been identified in the reference implementation of the HQC (Hamming Quasi-Cyclic) key encapsulation mechanism. The vulnerability, tracked as GHSA-753p-wrj5-g8fj and CVE-2024-54137, was discovered in December 2024. The issue affects HQC implementations in PQClean and related packages prior to their respective security patches (OQS Advisory, PQClean Advisory).
The vulnerability stems from an indexing error in the 2023/04/30 version of the HQC specification and reference implementation. An extra field (sigma) was added to the secret key structure to enable implicit rejection of malformed ciphertexts, but the logic to retrieve the public key from the secret key in the decapsulation function was not updated accordingly. As a result, sigma is treated as part of the public key. Additionally, an incorrectly constructed comparison check allows this error to go undetected (PQClean Advisory).
Due to the interaction of these two bugs, the decapsulation function never uses sigma to perform implicit rejection as intended. Instead, it accepts malformed ciphertexts and returns shared secrets based on their decryptions. While no concrete attack exploiting this error has been identified, the mishandling of secret key data presents a potential security vulnerability (OQS Advisory).
The issue has been patched in various implementations. PQClean users should update to include the fixes proposed in PR #578. For the Rust implementation, pqcrypto-hqc has been updated to version 0.2.1. LibOQS users should update to version 0.12.0 or higher (PQClean PR, Rust Fix).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
Get a personalized demo
“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
“We know that if Wiz identifies something as critical, it actually is.”