A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.149.0, runtime request, response, and direct schema validation lacks cycle detection when an allOf, anyOf, or oneOf chain refers back to an ancestor schema, even though loading and document validation accept the circular reference. A request or response that reaches the affected schema causes unbounded recursion in Schema.visitJSON or openapi3filter.decodeValue and exhausts the Go goroutine stack. The resulting fatal stack overflow cannot be caught with recover and terminates the entire process, including unrelated requests. This issue is fixed in version 0.149.0.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /getkin/kin-openapi/commit/9245cef66c840e27a08409a8a5cd0ee9…
- github.com /getkin/kin-openapi/releases/tag/v0.149.0
- github.com /getkin/kin-openapi/security/advisories/GHSA-g8cf-rcjf-c8cf
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning