GHSA-g97w-mw7g-v3jv: Duplicate Advisory Denial of Service Vulnerability

LOW
CVSS 2.9
CWE-835
Published
Advisory Summary

GHSA-g97w-mw7g-v3jv is a LOW (CVSS 2.9) denial of service vulnerability (CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')) affecting Duplicate Advisory libraries in the crates.io ecosystem. The issue involves low severity (dos) vulnerability in sequoia-openpgp. Remediation is available by upgrading affected packages to version 1.21.0.

GHSA-g97w-mw7g-v3jv at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-g97w-mw7g-v3jv
Severity LOW
CVSS v3.1 Base Score 2.9
CWE Classification CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Affected Product Duplicate Advisory
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 2.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-g97w-mw7g-v3jv

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

sequoia-openpgp fixed: 1.21.0
Upgrade sequoia-openpgp to 1.21.0
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 sequoia-openpgp

How to Check if You Are Affected

To determine whether your application is affected by GHSA-g97w-mw7g-v3jv, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for sequoia-openpgp

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.21.0), 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 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop'), where the product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. In Duplicate Advisory, 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

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-9344-p847-qm5c. This link is maintained to preserve external references. ### Original Description The sequoia-openpgp crate 1.13.0 before 1.21.0 for Rust allows an infinite loop of "Reading a cert: Invalid operation: Not a Key packet" messages for RawCertParser operations that encounter an unsupported primary key type.

GHSA-g97w-mw7g-v3jv Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
1.21.0
Product / Package Ecosystem Affected Versions Fixed Version
sequoia-openpgp
crates.io
≥ 1.13.0
< 1.21.0
1.21.0

References

Frequently Asked Questions

What is GHSA-g97w-mw7g-v3jv?
GHSA-g97w-mw7g-v3jv is a security vulnerability in Duplicate Advisory involving Low severity (DoS) vulnerability in sequoia-openpgp under CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 1.21.0 across affected packages: sequoia-openpgp.
What version fixes GHSA-g97w-mw7g-v3jv?
Upgrading to 1.21.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is sequoia-openpgp affected?
Yes, sequoia-openpgp is affected in releases prior to 1.21.0. Upgrade your dependency to 1.21.0 or later.
What is the CVSS score of GHSA-g97w-mw7g-v3jv?
GHSA-g97w-mw7g-v3jv has a CVSS v3.1 base score of 2.9 (LOW) with vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with GHSA-g97w-mw7g-v3jv?
GHSA-g97w-mw7g-v3jv is classified under CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') (The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.).
How can I check crates.io dependencies for GHSA-g97w-mw7g-v3jv?
Run the dependency tree command: 'inspect dependencies for sequoia-openpgp'. 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-g97w-mw7g-v3jv",
  "modified" : "2025-07-28T15:36:45Z",
  "published" : "2025-07-27T21:32:11Z",
  "withdrawn" : "2025-07-28T15:36:45Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Low severity (DoS) vulnerability in sequoia-openpgp",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-9344-p847-qm5c. This link is maintained to preserve external references.\n\n### Original Description\nThe sequoia-openpgp crate 1.13.0 before 1.21.0 for Rust allows an infinite loop of \"Reading a cert: Invalid operation: Not a Key packet\" messages for RawCertParser operations that encounter an unsupported primary key type.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "sequoia-openpgp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.13.0"
      }, {
        "fixed" : "1.21.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-58261"
  }, {
    "type" : "WEB",
    "url" : "https://crates.io/crates/sequoia-openpgp"
  }, {
    "type" : "PACKAGE",
    "url" : "https://gitlab.com/sequoia-pgp/sequoia"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.com/sequoia-pgp/sequoia/-/issues/1106"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2024-0345.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-835" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-07-28T15:36:45Z",
    "nvd_published_at" : "2025-07-27T20:15:24Z"
  }
}