SCA: security update for github.com/getkin/kin-openapi (GHSA-xhj3-7xw9-vr34)

high Tenable Self-Hosted Container Security Plugin ID 446230

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-77354)

Solution

Update the github.com/getkin/kin-openapi library and its related packages to version 0.142.0 or later.

See Also

https://github.com/advisories/GHSA-xhj3-7xw9-vr34

Plugin Details

Severity: High

ID: 446230

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/22/2026

Updated: 8/22/2026

Risk Information

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2026-77354

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/21/2026

Vulnerability Publication Date: 8/21/2026

Reference Information

CVE: CVE-2026-77354