🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1247

Bug#1151207: golang-github-getkin-kin-openapi: CVE-2026-100347 CVE-2026-100348 CVE-2026-100349

#1247
From: Salvatore Bonaccorso
Date: Sun, 18 Oct 2026 07:20
66 lines
4698 bytes
Source: golang-github-getkin-kin-openapi
Version: 0.135.0-1
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security upstream

Hi,

The following vulnerabilities were published for golang-github-getkin-kin-openapi.

CVE-2026-100347[0]:
| kin-openapi is a Go project for handling OpenAPI files. Prior to
| 0.145.0, openapi3filter.ValidationHandler uses the routers/legacy
| router, which passes an unsupported or non-canonical HTTP method for
| an existing static path to openapi3.PathItem.GetOperation. The
| default branch of GetOperation panics before authentication runs, so
| an unauthenticated remote client can repeatedly send methods such as
| PROPFIND or lowercase get to abort connections and generate stack-
| trace log growth. The specific panic requires an exact static path;
| a concrete path matched only by a templated route does not reach the
| same sink. This issue is fixed in version 0.145.0.


CVE-2026-100348[1]:
| kin-openapi is a Go project for handling OpenAPI files. Prior to
| 0.145.0, openapi3.Loader can dereference a nil SchemaRef.Value while
| resolving a self-referential additionalProperties JSON Reference
| such as a schema that points to its own additionalProperties member.
| Loading an attacker-controlled OpenAPI document through
| LoadFromData, LoadFromFile, or LoadFromURI reaches resolveComponent
| before document validation and can panic the loading process.
| Resolved additionalProperties schemas and ordinary recursive schemas
| do not take the vulnerable nil-value path. This issue is fixed in
| version 0.145.0.


CVE-2026-100349[2]:
| kin-openapi is a Go project for handling OpenAPI files. Prior to
| 0.146.0, openapi3filter.ValidateResponse passes a nil response
| header schema to decodeValue when an OpenAPI document declares the
| header with content instead of schema. The document passes
| validation, but every response validation for the affected operation
| dereferences the nil schema and panics even when the response does
| not contain the declared header. Applications that ingest an
| untrusted specification can expose this as remote availability
| impact, while applications using only trusted local specifications
| still crash when the affected operation is exercised. This issue is
| fixed in version 0.146.0.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-100347
    https://www.cve.org/CVERecord?id=CVE-2026-100347
[1] https://security-tracker.debian.org/tracker/CVE-2026-100348
    https://www.cve.org/CVERecord?id=CVE-2026-100348
[2] https://security-tracker.debian.org/tracker/CVE-2026-100349
    https://www.cve.org/CVERecord?id=CVE-2026-100349

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore
Technical Details
Message-ID: <NPtlv-6ieF-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Salvatore Bonaccorso <carnil@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1151207: golang-github-getkin-kin-openapi: CVE-2026-100347 CVE-2026-100348 CVE-2026-100349
Date: Sun, 18 Oct 2026 09:20:01 +0200
Message-ID: <NPtlv-6ieF-9@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 18 07:11:12 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1151207@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: report 1151207
X-Debian-Pr-Package: src:golang-github-getkin-kin-openapi
X-Debian-Pr-Keywords: security upstream
X-Debian-Pr-Source: golang-github-getkin-kin-openapi
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: carnil
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997357
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 66
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 18 Oct 2026 09:09:26 +0200
X-Original-Message-ID: <atRwpmpUO3Pz0-sy@eldamar.lan>