Microsoft.Diagnostics.Tracing.TraceEvent is vulnerable to Denial of Service (DoS)
55
Medium Risk
The Linux perf script parser scans the process name of a sched_switch record until it reaches an expected following field. When the input is truncated and that field never appears, the scan loop has no end-of-stream exit condition and runs forever. Parsing truncated perf-script output causes the parser to hang and consume CPU indefinitely. The fix adds an end-of-stream check that breaks out of the loop.
You are affected if you are using a version that falls within the vulnerable range and your application uses the library to parse untrusted or externally supplied Linux perf script trace output.
Microsoft.Diagnostics.Tracing.TraceEvent is vulnerable to Denial of Service (DoS) in versions 3.1.3 - 3.2.5.
Upgrade the Microsoft.Diagnostics.Tracing.TraceEvent library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant