GHSA-h864-m8vm-3xvj: Oqs Oqs's Post-Quantum Signature Scheme Rainbow Vulnerability
HIGHGHSA-h864-m8vm-3xvj is a HIGH oqs's post-quantum signature scheme rainbow vulnerability (General Security Weakness) affecting Oqs libraries in the crates.io ecosystem. The issue involves oqs's post-quantum signature scheme rainbow level i parametersets broken. Remediation is available by upgrading affected packages to version 0.7.2.
GHSA-h864-m8vm-3xvj at a Glance
How to Fix GHSA-h864-m8vm-3xvj
To remediate this vulnerability, upgrade all affected Oqs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade oqs to 0.7.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for oqs
How to Check if You Are Affected
To determine whether your application is affected by GHSA-h864-m8vm-3xvj, inspect your project dependencies for Oqs:
inspect dependencies for oqs
Analyze the terminal output to locate any version of Oqs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Oqs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-h864-m8vm-3xvj Affected Oqs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
oqs
|
crates.io |
< 0.7.2
|
0.7.2
|
References
Frequently Asked Questions
What is GHSA-h864-m8vm-3xvj?
Which Oqs versions are affected?
What version fixes GHSA-h864-m8vm-3xvj?
Is oqs affected?
What CWE is associated with GHSA-h864-m8vm-3xvj?
How can I check crates.io dependencies for GHSA-h864-m8vm-3xvj?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h864-m8vm-3xvj",
"modified" : "2022-08-18T19:06:39Z",
"published" : "2022-08-18T19:06:39Z",
"aliases" : [ ],
"summary" : "oqs's Post-Quantum Signature scheme Rainbow level I parametersets broken",
"details" : "Ward Beullens found a practical key-recovery attack against Rainbow.\nThe level I parametersets are removed from liboqs starting from version `0.7.2`.\nFind the scientific details in [Breaking Rainbow Takes a Weekend on a Laptop](https://eprint.iacr.org/2022/214).\n\nThis means all the `oqs::sig::Algorithm::RainbowI*` variants are insecure.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "oqs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.7.2"
} ]
} ]
} ],
"references" : [ {
"type" : "PACKAGE",
"url" : "https://github.com/open-quantum-safe/liboqs-rust"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/KFgw5_qCXiI?pli=1"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2022-0047.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-08-18T19:06:39Z",
"nvd_published_at" : null
}
}