漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
kin-openapi openai3filter: nil-pointer panic in ConvertErrors on malformed multipart/form-data body enables unauthenticated DoS
Vulnerability Description
kin-openapi is a Go project for handling OpenAPI files. From 0.10.0 until 0.141.0, openapi3filter.convertParseError in openapi3filter/validation_error_encoder.go dereferences e.Parameter.In without checking whether e.Parameter is nil. A malformed non-string scalar field in a multipart/form-data request body produces a nested ParseError with a nil RequestError.Parameter, and applications that render the validation error through openapi3filter.ConvertErrors or ValidationErrorEncoder panic. An unauthenticated client can repeatedly send such requests to deny service when the application lacks a recovery boundary. JSON request bodies and applications that do not use these error-rendering helpers are not affected. This issue is fixed in version 0.141.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
空指针解引用
Vulnerability Title
getkin kin-openapi 异常处理不当漏洞
Vulnerability Description
getkin kin-openapi是getkin个人开发者开源的一款OpenAPI规范解析框架。 getkin kin-openapi 0.10.0版本至0.141.0之前版本存在异常处理不当漏洞,该漏洞源于openapi3filter.convertParseError未检查e.Parameter是否为空即解引用e.Parameter.In,可能导致未经身份验证的攻击者通过发送恶意multipart/form-data请求造成拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A