GHSA-hf3r-vmrv-7w29: Duplicate Advisory Denial of Service Vulnerability

HIGH
CWE-407
Published
Advisory Summary

GHSA-hf3r-vmrv-7w29 is a HIGH denial of service vulnerability (CWE-407: Inefficient Algorithmic Complexity) affecting Duplicate Advisory libraries in the NuGet ecosystem. The issue involves denial of service in cbor library. Remediation is available by upgrading affected packages to version 4.5.1.

GHSA-hf3r-vmrv-7w29 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-hf3r-vmrv-7w29
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-407: Inefficient Algorithmic Complexity
Affected Product Duplicate Advisory
Package Ecosystem NuGet
Published Date
Last Updated

How to Fix GHSA-hf3r-vmrv-7w29

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.

PeterO.Cbor fixed: 4.5.1
Upgrade PeterO.Cbor to 4.5.1
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 PeterO.Cbor

How to Check if You Are Affected

To determine whether your application is affected by GHSA-hf3r-vmrv-7w29, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for PeterO.Cbor

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 4.5.1), 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-407: Inefficient Algorithmic Complexity, where an algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached. 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-6r92-cgxc-r5fg. This link is maintained to preserve external references. ### Original Description PeterO.Cbor versions 4.0.0 through 4.5.0 are vulnerable to a denial of service vulnerability. An attacker may trigger the denial of service condition by providing crafted data to the DecodeFromBytes or other decoding mechanisms in PeterO.Cbor. Depending on the usage of the library, an unauthenticated and remote attacker may be able to cause the denial of service condition.

GHSA-hf3r-vmrv-7w29 Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
4.5.1
Product / Package Ecosystem Affected Versions Fixed Version
PeterO.Cbor
NuGet
≥ 4.0.0
< 4.5.1
4.5.1

References

Frequently Asked Questions

What is GHSA-hf3r-vmrv-7w29?
GHSA-hf3r-vmrv-7w29 is a security vulnerability in Duplicate Advisory involving Denial of service in CBOR library under CWE-407: Inefficient Algorithmic Complexity.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 4.5.1 across affected packages: PeterO.Cbor.
What version fixes GHSA-hf3r-vmrv-7w29?
Upgrading to 4.5.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is PeterO.Cbor affected?
Yes, PeterO.Cbor is affected in releases prior to 4.5.1. Upgrade your dependency to 4.5.1 or later.
What CWE is associated with GHSA-hf3r-vmrv-7w29?
GHSA-hf3r-vmrv-7w29 is classified under CWE-407: Inefficient Algorithmic Complexity (An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.).
How can I check NuGet dependencies for GHSA-hf3r-vmrv-7w29?
Run the dependency tree command: 'inspect dependencies for PeterO.Cbor'. 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-hf3r-vmrv-7w29",
  "modified" : "2024-01-03T22:28:05Z",
  "published" : "2024-01-03T18:30:51Z",
  "withdrawn" : "2024-01-03T21:06:15Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Denial of service in CBOR library",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-6r92-cgxc-r5fg. This link is maintained to preserve external references.\n\n### Original Description\nPeterO.Cbor versions 4.0.0 through 4.5.0 are vulnerable to a denial of \nservice vulnerability. An attacker may trigger the denial of service \ncondition by providing crafted data to the DecodeFromBytes or other \ndecoding mechanisms in PeterO.Cbor. Depending on the usage of the \nlibrary, an unauthenticated and remote attacker may be able to cause the\n denial of service condition.\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "PeterO.Cbor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.5.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/peteroupc/CBOR/security/advisories/GHSA-6r92-cgxc-r5fg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-21909"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/peteroupc/CBOR/commit/b4117dbbb4cd5a4a963f9d0c9aa132f033e15b95"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-6r92-cgxc-r5fg"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/peteroupc/CBOR/compare/v4.5...v4.5.1"
  }, {
    "type" : "WEB",
    "url" : "https://vulncheck.com/advisories/vc-advisory-GHSA-6r92-cgxc-r5fg"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-407" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-03T21:06:15Z",
    "nvd_published_at" : "2024-01-03T16:15:09Z"
  }
}