GHSA-p4v8-jgcv-9g75: Safe pqc kyber Safe_pqc_kyber Leaks Parts Of Secret Vulnerability

HIGH
Published
Advisory Summary

GHSA-p4v8-jgcv-9g75 is a HIGH safe_pqc_kyber leaks parts of secret vulnerability (General Security Weakness) affecting Safe pqc kyber libraries in the crates.io ecosystem. The issue involves safe_pqc_kyber leaks parts of secret keys. Remediation is available by upgrading affected packages to version 0.6.2.

GHSA-p4v8-jgcv-9g75 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-p4v8-jgcv-9g75
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Safe pqc kyber
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix GHSA-p4v8-jgcv-9g75

To remediate this vulnerability, upgrade all affected Safe pqc kyber dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

safe_pqc_kyber fixed: 0.6.2
Upgrade safe_pqc_kyber to 0.6.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for safe_pqc_kyber

How to Check if You Are Affected

To determine whether your application is affected by GHSA-p4v8-jgcv-9g75, inspect your project dependencies for Safe pqc kyber:

inspect dependencies for safe_pqc_kyber

Analyze the terminal output to locate any version of Safe pqc kyber in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.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 Safe pqc kyber, 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

### Impact On some platforms, when an attacker can time decapsulation, and in particular when the attacker can forge cipher texts, they can learn (parts of) the secret key. Does not apply to ephemeral usage, such as when used in the regular way in TLS. ### Patches Patched in 0.6.2. ### References - [kyberslash.cr.yp.to](https://kyberslash.cr.yp.to)

GHSA-p4v8-jgcv-9g75 Affected Safe pqc kyber Versions

1 component(s)
Fixed Versions:
0.6.2
Product / Package Ecosystem Affected Versions Fixed Version
safe_pqc_kyber
crates.io
< 0.6.2
0.6.2

References

Frequently Asked Questions

What is GHSA-p4v8-jgcv-9g75?
GHSA-p4v8-jgcv-9g75 is a security vulnerability in Safe pqc kyber involving safe_pqc_kyber leaks parts of secret keys under General Security Weakness.
Which Safe pqc kyber versions are affected?
Affected versions include releases prior to 0.6.2 across affected packages: safe_pqc_kyber.
What version fixes GHSA-p4v8-jgcv-9g75?
Upgrading to 0.6.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is safe_pqc_kyber affected?
Yes, safe_pqc_kyber is affected in releases prior to 0.6.2. Upgrade your dependency to 0.6.2 or later.
What CWE is associated with GHSA-p4v8-jgcv-9g75?
GHSA-p4v8-jgcv-9g75 is classified under General Security Weakness.
How can I check crates.io dependencies for GHSA-p4v8-jgcv-9g75?
Run the dependency tree command: 'inspect dependencies for safe_pqc_kyber'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-p4v8-jgcv-9g75",
  "modified" : "2024-01-03T21:40:45Z",
  "published" : "2024-01-03T21:40:45Z",
  "aliases" : [ ],
  "summary" : "safe_pqc_kyber leaks parts of secret keys",
  "details" : "### Impact\nOn some platforms, when an attacker can time decapsulation, and in particular when the attacker can forge cipher texts, they can learn (parts of) the secret key.\n\nDoes not apply to ephemeral usage, such as when used in the regular way in TLS.\n\n### Patches\nPatched in 0.6.2.\n\n\n### References\n- [kyberslash.cr.yp.to](https://kyberslash.cr.yp.to)",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "safe_pqc_kyber"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.6.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/bwesterb/argyle-kyber/security/advisories/GHSA-p4v8-jgcv-9g75"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bwesterb/argyle-kyber/commit/b5c6ad13f4eece80e59c6ebeafd787ba1519f5f6"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/bwesterb/argyle-kyber"
  }, {
    "type" : "WEB",
    "url" : "https://kyberslash.cr.yp.to"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-03T21:40:45Z",
    "nvd_published_at" : null
  }
}