Microsoft.OpenApi.Readers is vulnerable to Uncontrolled Resource Consumption
53
Medium Risk
The legacy reader bundles a YAML parser that expands anchors and aliases without bounding nesting depth or the number of materialized nodes. A small crafted YAML OpenAPI document using recursive alias expansion (a billion laughs payload) forces the converter to allocate an exponentially large node graph. Parsing such a document through the public 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.Readers is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 1.6.29.
Upgrade the Microsoft.OpenApi.Readers 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