Description
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.148.0, the OpenAPI 3.1 validation path passes YAML NaN and infinity numeric values to santhosh-tekuri/jsonschema v6.0.2 without applying kin-openapi's existing finite-number guards. A remote unauthenticated client can send an application/yaml or application/x-yaml request body containing .nan, .inf, or -.inf to an operation with a numeric constraint, causing the dependency to create and dereference a nil big.Rat during ValidateRequest. Standard net/http servers recover the panic per connection, while other hosts or application goroutines may terminate the process. This issue is fixed in version 0.148.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getkin | kin-openapi | < 0.148.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-getkin-kin-openapi | No fix yet | — |
| Debian 13 | golang-github-getkin-kin-openapi | No fix yet | — |
| Debian 12 | golang-github-getkin-kin-openapi | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-getkin-kin-openapi | No fix yet | — |
| Ubuntu 26.04 LTS | golang-github-getkin-kin-openapi | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-getkin-kin-openapi | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-getkin-kin-openapi | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | grafana13.2 | 13.2.3-0.3.hum1 | RHSA-2026:85266 |
| Red Hat Hardened Images 1 | hugo | 0.168.0-0.1.hum1 | RHSA-2026:82637 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | hugo | 0.168.0-2.1 | openSUSE-SU-2026:12164-1 |
| openSUSE Tumbleweed | timoni | 0.36.0-1.1 | openSUSE-SU-2026:12309-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | crossplane-provider-aws-eks +4 | 2.9.0-r5 | — |
| Wolfi rolling | crossplane-provider-aws-s3 +10 | 2.9.0-r4 | — |
| Wolfi rolling | crossplane-provider-aws-sns +1 | 2.9.0-r6 | — |
| Wolfi rolling | crossplane-provider-azure-sql +4 | 2.8.0-r4 | — |
| Wolfi rolling | crossplane-provider-keycloak | 3.2.2-r1 | — |
| Wolfi rolling | gitness | 3.3.0-r44 | — |
| Wolfi rolling | grafana-12.3 | 12.3.11-r12 | — |
| Wolfi rolling | grafana-12.4 | 12.4.13-r2 | — |
| Wolfi rolling | grafana-13.0 | 13.0.11-r4 | — |
| Wolfi rolling | kubevela-vela-cli +1 | 1.11.0-r22 | — |
| Wolfi rolling | nuclei | 3.11.1-r13 | — |
| Wolfi rolling | terraform-provider-grafana | 4.50.0-r1 | — |
| Wolfi rolling | timoni | 0.35.0-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/getkin/kin-openapi | < 0.148.0 | 0.148.0 | GHSA-rj39-cv6w-8wv7 |
Advisories 4
- openSUSE-SU-2026:12309-1 timoni-0.36.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 28, 2026
- RHSA-2026:85266 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:82637 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- openSUSE-SU-2026:12164-1 hugo-0.168.0-2.1 on GA media SUSE / openSUSE Security Updates · Oct 18, 2026