CVE-2024-21909
C# vulnerability analysis and mitigation

Overview

CVE-2024-21909 affects PeterO.Cbor versions 4.0.0 through 4.5.0, exposing a denial of service vulnerability. The vulnerability exists in the DecodeFromBytes and other decoding mechanisms of the library, where an attacker can trigger a denial of service condition by providing crafted data. This issue was discovered and privately reported to the maintainers, with a fix released in version 4.5.1 (GitHub Advisory).

Technical details

The vulnerability stems from an inefficient algorithmic implementation (CWE-407: Inefficient Algorithmic Complexity) in the CBOR library's decoding mechanisms. The issue specifically affects the processing of CBOR maps or inputs containing CBOR maps. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH), with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can lead to a denial of service condition. Depending on the usage of the library, an unauthenticated and remote attacker may be able to cause the denial of service condition, potentially affecting the availability of applications using the vulnerable versions of PeterO.Cbor (GitHub Advisory).

Mitigation and workarounds

Users are advised to upgrade to version 4.5.1 or later of the library. For those unable to upgrade immediately, a workaround exists: applications can implement input validation to check if the input begins with a byte other than 0x80 through 0xDF or does not contain a byte in the range 0xa0 through 0xBF, as such inputs are not affected by this vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68924HIGH7.5
  • C#C#
  • UmbracoForms
NoNoJan 16, 2026
CVE-2025-68618HIGH7.5
  • C#C#
  • ImageMagick-config-7-upstream-open
NoYesDec 30, 2025
CVE-2021-47776MEDIUM6.9
  • C#C#
  • UmbracoCms
NoNoJan 15, 2026
CVE-2025-68950MEDIUM6.2
  • C#C#
  • Magick.NET-Q8-AnyCPU
NoYesDec 30, 2025
CVE-2025-67291MEDIUM6.1
  • C#C#
  • Piranha
NoNoDec 22, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management