GHSA-hf3r-vmrv-7w29: Duplicate Advisory Denial of Service Vulnerability
HIGHGHSA-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
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.
Upgrade PeterO.Cbor to 4.5.1
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
GHSA-hf3r-vmrv-7w29 Affected Duplicate Advisory Versions
1 component(s)| 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?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-hf3r-vmrv-7w29?
Is PeterO.Cbor affected?
What CWE is associated with GHSA-hf3r-vmrv-7w29?
How can I check NuGet dependencies for GHSA-hf3r-vmrv-7w29?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}