GHSA-hrjv-pf36-jpmr: Oqs Oqs's Post-Quantum Key Encapsulation Mechanism Vulnerability
MODERATEGHSA-hrjv-pf36-jpmr is a MODERATE oqs's post-quantum key encapsulation mechanism vulnerability (General Security Weakness) affecting Oqs libraries in the crates.io ecosystem. The issue involves oqs's post-quantum key encapsulation mechanism sike broken. Remediation is available by upgrading affected packages to version 0.7.2.
GHSA-hrjv-pf36-jpmr at a Glance
How to Fix GHSA-hrjv-pf36-jpmr
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-hrjv-pf36-jpmr, 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-hrjv-pf36-jpmr 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-hrjv-pf36-jpmr?
Which Oqs versions are affected?
What version fixes GHSA-hrjv-pf36-jpmr?
Is oqs affected?
What CWE is associated with GHSA-hrjv-pf36-jpmr?
How can I check crates.io dependencies for GHSA-hrjv-pf36-jpmr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hrjv-pf36-jpmr",
"modified" : "2022-08-18T19:01:15Z",
"published" : "2022-08-18T19:01:15Z",
"aliases" : [ ],
"summary" : "oqs's Post-Quantum Key Encapsulation Mechanism SIKE broken",
"details" : "Wouter Castryck and Thomas Decru presented an efficient key recovery attack on the SIDH protocol.\nAs a result, the secret key of SIKEp751 can be recovered in a matter of hours.\nThe SIKE and SIDH schemes will be removed from oqs 0.7.2.\n\n[An efficient key recovery attack on SIDH (preliminary version)](https://eprint.iacr.org/2022/975)\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "oqs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.7.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/open-quantum-safe/liboqs-rust/pull/151"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/open-quantum-safe/liboqs-rust"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2022-0045.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-08-18T19:01:15Z",
"nvd_published_at" : null
}
}