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. From 0.144.0 until 0.147.0, openapi3filter.ValidationHandler validates an operation selected from decoded URL.Path while a downstream gorilla/mux router configured with UseEncodedPath can dispatch a different operation selected from URL.RawPath. When a public exact route and a protected parameterized route use the same method and overlap after decoding, an unauthenticated remote request containing an encoded path separator can be validated as public and then dispatched to the protected handler without invoking the configured AuthenticationFunc. The reachable path parameter is constrained to an encoded representation that decodes to the public literal route, and proxies that canonicalize the URI before forwarding prevent this specific mismatch. This issue is fixed in version 0.147.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/eda80e2676e9f577ceed2dd80e64f160…
- github.com /getkin/kin-openapi/releases/tag/v0.147.0
- github.com /getkin/kin-openapi/security/advisories/GHSA-23vg-4cjm-66q5
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning