漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
kin-openapi openapi3filter: unauthenticated nil-pointer panic when validating a request against a `content` parameter whose media type has no schema
Vulnerability Description
kin-openapi is a Go project for handling OpenAPI files. From 0.2.0 until 0.144.0, openapi3filter.ValidateRequest can encounter a NULL-pointer-dereference denial of service when an operation declares a content parameter whose application/json media type has no schema. In openapi3filter/req_resp_decoder.go, the default defaultContentParameterDecoder dereferences mt.Schema.Value without checking whether mt.Schema is nil, even though doc.Validate() accepts the document under OpenAPI 3.0.x and 3.1.x. A single unauthenticated request supplying the parameter value can panic request validation, causing an aborted request with log growth in the common synchronous net/http path or a full process crash in integrations without recovery. 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:N/I:N/A:L
Vulnerability Type
空指针解引用
Vulnerability Title
getkin kin-openapi 异常处理不当漏洞
Vulnerability Description
getkin kin-openapi是getkin个人开发者开源的一个 Go 的 OpenAPI 3.0 实现。 getkin kin-openapi 0.2.0版本至0.144.0之前版本存在异常处理不当漏洞,该漏洞源于openapi3filter.ValidateRequest在处理无schema的application/json内容参数时未检查mt.Schema是否为nil便解引用mt.Schema.Value,可能导致未经身份验证的攻击者通过单个请求触发空指针取消引用,造成请求验证panic,进而
CVSS Information
N/A
Vulnerability Type
N/A