جزئیات آسیبپذیری
CVE-2026-77354
kin-openapi: Uncontrolled resource consumption in openapi3filter deepObject query parameter decoding
شرح رسمی (انگلیسی)
kin-openapi is a Go project for handling OpenAPI files. From 0.124.0 until 0.142.0, openapi3filter.sliceMapToSlice in openapi3filter/req_resp_decoder.go converts attacker-controlled sparse indexes from a deepObject query parameter into a dense slice by allocating entries from zero through the largest supplied index, after which buildResObj creates another slice of the same length. This allocation occurs before schema validation, so maxItems does not prevent it. An unauthenticated client can send a small query such as param[items][50000000]=x to an endpoint whose deepObject schema contains an array, forcing multi-gigabyte heap allocation and causing an OOM kill or restart loop. Other request-body encodings and styled parameters that do not produce bracketed integer indexes are not affected. This issue is fixed in version 0.142.0.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 8.7بالا | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| getkin | kin-openapi | >= 0.124.0, < 0.142.0 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۴- https://github.com/getkin/kin-openapi/security/advisories/GHSA-xhj3-7xw9-vr34 x_refsource_CONFIRM
- https://github.com/getkin/kin-openapi/pull/923 x_refsource_MISC
- https://github.com/getkin/kin-openapi/commit/1223a0f215d2cf9beb2d9eb9ea2649d001c21388 x_refsource_MISC
- https://github.com/getkin/kin-openapi/releases/tag/v0.142.0 x_refsource_MISC
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۵/۳۱
- آخرین بهروزرسانی
- ۱۴۰۵/۰۶/۰۳
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- بله
- وضعیت بهرهبرداری
- اثبات مفهوم
- اثر فنی
- جزئی
ضعفها (CWE)
- CWE-400Uncontrolled Resource Consumption
- CWE-789Memory Allocation with Excessive Size Value