kin-openapi 是一个用于处理 OpenAPI 文件的 Go 项目。在版本 0.124.0 至 0.142.0 之间,openapi3filter.sliceMapToSlice 函数(位于 openapi3filter/req_resp_decoder.go 中)会将攻击者可控的来自 deepObject 查询参数的稀疏索引转换为密集切片。该转换过程通过从零到最大提供索引分配内存条目来完成,随后 buildResObj 会创建另一个相同长度的切片。由于此内存分配发生在 schema 验证之前,因此 max
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| getkin | kin-openapi | >= 0.124.0, < 0.142.0 |
affected |
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.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| getkin | kin-openapi | >= 0.124.0, < 0.142.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No comments yet