Microsoft OpenAPI.NET
Microsoft.OpenAPI: Circular schema references may terminate OpenAPI parsing
The OpenAPI.NET SDK contains a useful object model for OpenAPI documents in .NET along with common serializers to extract raw OpenAPI JSON and YAML documents from the model. From 2.0.0-preview11 until 2.7.5 and 3.5.4, a small OpenAPI document containing a circular schema reference can cause process termination through stack overflow in Microsoft.OpenApi. The issue affects OpenAPI document parsing through public OpenAPI.NET reader APIs and has been confirmed across both JSON and YAML reader paths. This vulnerability is fixed in 2.7.5 and 3.5.4.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0-preview11, < 2.7.5
- >= 3.0.0, < 3.5.4
Fixed in 2.7.5, 3.5.4
Mitigation
Upgrade OpenAPI.NET to 2.7.5 or 3.5.4 or later.
References
- Vendor advisory github.com/microsoft/OpenAPI.NET/security/advi…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.