Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-77354

Опубликовано: 21 авг. 2026
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

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.

A flaw was found in kin-openapi, a Go project for handling OpenAPI files. An unauthenticated client can exploit this vulnerability by sending a specially crafted query with a large index in a deepObject query parameter. This forces the application to allocate multi-gigabyte memory, leading to an Out-of-Memory (OOM) error or a restart loop, effectively causing a Denial of Service (DoS).

Отчет

Red Hat rates this flaw as Important because a small request can exhaust memory and terminate an exposed service. Exploitation requires an application to decode attacker-controlled query parameters using kin-openapi’s deepObject handling with an array-containing schema. Schema limits such as maxItems do not prevent the allocation, and HTTP handler panic recovery does not protect against process termination from memory exhaustion.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Migration Toolkit for Applications 8mta/mta-cli-rhel9Affected
Migration Toolkit for Applications 8mta/mta-hub-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/managedcluster-import-controller-rhel9Not affected
Multicluster Global Hubmulticluster-globalhub/multicluster-globalhub-grafana-rhel9Affected
OpenShift Serverlesskn-workflow-pluginNot affected
OpenShift Serverlessopenshift-serverless-1/kn-backstage-plugins-eventmesh-rhel9Affected
Red Hat 3scale API Management Platform 23scale-amp2/3scale-operator-bundleNot affected
Red Hat 3scale API Management Platform 23scale-amp2/3scale-rhel7-operator-metadataNot affected
Red Hat Advanced Cluster Management for Kubernetes 2flightctlNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-grafana-rhel9Affected

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-1285
https://bugzilla.redhat.com/show_bug.cgi?id=2521204github.com/getkin/kin-openapi: kin-openapi: Denial of Service via uncontrolled resource consumption in deepObject query parameter decoding

EPSS

Процентиль: 22%
0.00302
Низкий

7.5 High

CVSS3

Связанные уязвимости

ubuntu
27 дней назад

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.

nvd
27 дней назад

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.

debian
27 дней назад

kin-openapi is a Go project for handling OpenAPI files. From 0.124.0 u ...

github
27 дней назад

kin-openapi has uncontrolled resource consumption in openapi3filter deepObject query parameter decoding

CVSS3: 7.5
fstec
2 месяца назад

Уязвимость функции openapi3filter.sliceMapToSlice() библиотеки для работы с файлами kin-openapi, позволяющая нарушителю вызвать отказ в обслуживании

EPSS

Процентиль: 22%
0.00302
Низкий

7.5 High

CVSS3

Уязвимость CVE-2026-77354