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 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