Microsoft.OpenApi.YamlReader is vulnerable to Uncontrolled Resource Consumption
53
Medium Risk
The YAML reader expands YAML anchors and aliases without bounding nesting depth or the number of materialized nodes. A small crafted YAML OpenAPI document that uses recursive alias expansion (a billion laughs payload) forces YamlConverter to allocate an exponentially large node graph. Parsing such a document through the public OpenAPI reader APIs exhausts process memory and can terminate the host process. The fix enforces maximum nesting-depth and node-count limits and surfaces a diagnostic error instead of continuing expansion.
You are affected if you are using a version that falls within the vulnerable range and your application parses untrusted or externally influenced YAML OpenAPI documents through the reader APIs.
Microsoft.OpenApi.YamlReader is vulnerable to Uncontrolled Resource Consumption in versions 2.0.0 - 2.11.0 and 3.0.0 - 3.9.0.
Upgrade the Microsoft.OpenApi.YamlReader 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