🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1152823: golang-github-go-chi-chi: CVE-2026-114437

#2936
From: Moritz Mühlenhoff
Date: Sun, 01 Nov 2026 20:00
31 lines
2794 bytes
Source: golang-github-go-chi-chi
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerability was published for golang-github-go-chi-chi.

CVE-2026-114437[0]:
| In the Golang Chi web framework, the ClientIPFromXFF middleware
| skips any X-Forwarded-For entry in a configured trusted CIDR but
| never verifies that the direct TCP peer in http.Request.RemoteAddr
| belongs to that CIDR. A client that can reach the Go server directly
| can therefore append a trusted-looking proxy address and choose the
| client IP returned by middleware.GetClientIP.  This issue affects
| chi before 5.4.0.

https://github.com/go-chi/chi/security/advisories/GHSA-rqrp-8cg2-5958
Fixed by: https://github.com/go-chi/chi/commit/7f9b7448f51d28804fac98c0a17bc2a7cec1079f (v5.4.0)


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

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-114437
    https://www.cve.org/CVERecord?id=CVE-2026-114437

Please adjust the affected versions in the BTS as needed.
Technical Details
Message-ID: <NUJSF-9gEG-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!news.servidellagleba.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!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Moritz Mühlenhoff <jmm@inutil.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152823: golang-github-go-chi-chi: CVE-2026-114437
Date: Sun, 01 Nov 2026 21:00:01 +0100
Message-ID: <NUJSF-9gEG-7@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov  1 19:51:12 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: Moritz Mühlenhoff <jmm@inutil.org>, 1152823@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 1152823
X-Debian-Pr-Package: src:golang-github-go-chi-chi
X-Debian-Pr-Keywords: security
X-Debian-Pr-Source: golang-github-go-chi-chi
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000149
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 31
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 1 Nov 2026 20:50:24 +0100
X-Original-Message-ID: <aueYABD28eEM8o7_@pisco.westfalen.local>