Описание
kin-openapi is a Go project for handling OpenAPI files. From 0.136.0 until 0.143.0, openapi3filter accepts OpenAPI 3.1 array schemas without an items keyword and then dereferences the nil Schema.Items value while decoding application/x-www-form-urlencoded or multipart/form-data request bodies, response headers, and other array parameter surfaces. A remote unauthenticated client can reach an affected operation with a nonempty request or matching response and deterministically trigger a nil-pointer panic during ValidateRequest or ValidateResponse. OpenAPI 3.0 documents are not affected because document validation rejects arrays without items, and JSON request bodies use a different decoder path. This issue is fixed in version 0.143.0.
A flaw was found in kin-openapi's openapi3filter module. This vulnerability allows a remote, unauthenticated attacker to cause a Denial of Service (DoS) by crashing the application. The issue occurs when processing OpenAPI 3.1 array schemas that lack an items definition, causing the parser to encounter an unhandled null pointer while decoding form-encoded or multipart request bodies and response headers. An attacker can exploit this condition by submitting a crafted request to an affected endpoint, resulting in unexpected service termination.
Отчет
Red Hat has evaluated this vulnerability as having an Important severity rating because an unauthenticated remote attacker can deterministically trigger an application crash, resulting in denial of service. The issue specifically impacts environments where incoming network traffic is validated against OpenAPI 3.1 definitions containing array schemas that omit item specifications during multipart or URL-encoded form handling. Deployments utilizing OpenAPI 3.0 or those strictly handling JSON-formatted request bodies remain unaffected by this defect.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Hardened Images | go-fdo-server | Not affected | ||
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-core-bff-rhel9 | Not affected | ||
| Red Hat Hardened Images | grafana13-2-main-13.2.3-0.1.hum1 | Fixed | RHSA-2026:76430 | 05.10.2026 |
| Red Hat Hardened Images | grafana13-1-main-13.1.7-0.1.hum1 | Fixed | RHSA-2026:76448 | 05.10.2026 |
| Red Hat Hardened Images | grafana12-4-main-12.4.12-0.4.hum1 | Fixed | RHSA-2026:76677 | 06.10.2026 |
| Red Hat Hardened Images | hugo-main-0.168.0-0.1.hum1 | Fixed | RHSA-2026:82637 | 14.10.2026 |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
7.5 High
CVSS3
Связанные уязвимости
kin-openapi is a Go project for handling OpenAPI files. From 0.136.0 until 0.143.0, openapi3filter accepts OpenAPI 3.1 array schemas without an items keyword and then dereferences the nil Schema.Items value while decoding application/x-www-form-urlencoded or multipart/form-data request bodies, response headers, and other array parameter surfaces. A remote unauthenticated client can reach an affected operation with a nonempty request or matching response and deterministically trigger a nil-pointer panic during ValidateRequest or ValidateResponse. OpenAPI 3.0 documents are not affected because document validation rejects arrays without items, and JSON request bodies use a different decoder path. This issue is fixed in version 0.143.0.
kin-openapi is a Go project for handling OpenAPI files. From 0.136.0 until 0.143.0, openapi3filter accepts OpenAPI 3.1 array schemas without an items keyword and then dereferences the nil Schema.Items value while decoding application/x-www-form-urlencoded or multipart/form-data request bodies, response headers, and other array parameter surfaces. A remote unauthenticated client can reach an affected operation with a nonempty request or matching response and deterministically trigger a nil-pointer panic during ValidateRequest or ValidateResponse. OpenAPI 3.0 documents are not affected because document validation rejects arrays without items, and JSON request bodies use a different decoder path. This issue is fixed in version 0.143.0.
kin-openapi is a Go project for handling OpenAPI files. From 0.136.0 u ...
kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas missing items
Уязвимость компонента UrlencodedBodyDecoder библиотеки для работы с файлами kin-openapi, позволяющая нарушителю вызвать отказ в обслуживании
EPSS
7.5 High
CVSS3