Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
kin-openapi: ValidationHandler.Load() Fail-Open Authentication Bypass via NoopAuthenticationFunc Default
Vulnerability Description
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.144.0, ValidationHandler.Load() in openapi3filter/validation_handler.go silently replaces a nil AuthenticationFunc with NoopAuthenticationFunc, which returns nil without checking credentials. This substitution causes every OpenAPI security requirement to be satisfied for unauthenticated requests when an application relies on ValidationHandler as its enforcement middleware. The no-op callback prevents the fail-closed ErrAuthenticationServiceMissing path from being reached and forwards the request to protected handlers that may require an API key, OAuth token, or another security scheme. This issue is fixed in version 0.144.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Vulnerability Type
认证机制不恰当
Vulnerability Title
getkin kin-openapi 授权问题漏洞
Vulnerability Description
getkin kin-openapi是getkin组织开源的一个 Go 的 OpenAPI 3.0 实现。 getkin kin-openapi 0.144.0之前版本存在授权问题漏洞,该漏洞源于ValidationHandler.Load()将nil AuthenticationFunc静默替换为NoopAuthenticationFunc,导致未认证请求满足所有OpenAPI安全要求,可能绕过身份验证并访问受保护资源。
CVSS Information
N/A
Vulnerability Type
N/A