Article View: linux.debian.bugs.dist
Article #6725Bug#1155053: gunicorn: CVE-2026-134820 CVE-2026-134821
From: Colin Watson
Date: Sun, 29 Nov 2026 16:00
Date: Sun, 29 Nov 2026 16:00
34 lines
3446 bytes
3446 bytes
On Mon, Nov 23, 2026 at 09:05:59PM +0100, Salvatore Bonaccorso wrote: >CVE-2026-134820[0]: >| Gunicorn 25.2.0 before 27.0.0 contains an HTTP request smuggling >| vulnerability in the pure-Python ASGI parser that allows >| unauthenticated remote attackers to desynchronize request framing by >| sending malformed framing headers. Attackers can send whitespace- >| padded Transfer-Encoding or Content-Length headers, signed Content- >| Length values, or invalid chunk terminators to smuggle requests past >| front-end proxies to the ASGI application. > > >CVE-2026-134821[1]: >| Gunicorn 25.2.0 before 27.0.0 contains a memory exhaustion >| vulnerability in the pure-Python ASGI HTTP/1 parser that buffers >| protocol lines without size limits. Unauthenticated remote attackers >| can send request lines, headers, chunk-size lines or trailers >| lacking CRLF to grow worker memory and consume CPU, causing denial >| of service. I started looking at upgrading to 27.0.1, but ran into a rabbit-hole. The new version of gunicorn depends on a new version of gunicorn_h1c, but that version introduces some further changes to its vendored copy of picohttpparser that affect strictness of HTTP request parsing (those may even be part of fixing these CVEs, although I'm not certain). However, the Debian python-gunicorn-h1c package is patched to avoid the vendoring and use the system package instead, and I don't want to unilaterally undo that since it generally seems like something we want to keep. I filed https://github.com/h2o/picohttpparser/issues/102 to see if it might be possible to include gunicorn_h1c's patch in picohttpparser, since I couldn't find any trace of it having been proposed there. -- Colin Watson (he/him) [cjwatson@debian.org]
Technical Details
Message-ID:
<O4PtL-eUBD-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<O2Iwp-dJDa-13@gated-at.bofh.it> <O2Iwp-dJDa-13@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Colin Watson <cjwatson@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155053: gunicorn: CVE-2026-134820 CVE-2026-134821 Date: Sun, 29 Nov 2026 17:00:01 +0100 Message-ID: <O4PtL-eUBD-9@gated-at.bofh.it> References: <O2Iwp-dJDa-13@gated-at.bofh.it> <O2Iwp-dJDa-13@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Nov 29 15:53:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Colin Watson <cjwatson@debian.org>, 1155053@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+python@tracker.debian.org X-Debian-Pr-Message: followup 1155053 X-Debian-Pr-Package: src:gunicorn X-Debian-Pr-Keywords: security upstream X-Debian-Pr-Source: gunicorn MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Debian-User: cjwatson X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005874 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 34 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 29 Nov 2026 15:51:47 +0000 X-Original-Message-ID: <awxKE1nz7seOI7OX@riva.ucam.org> X-Original-References: <awScpwhufjYV0S8h@eldamar.lan> <awScpwhufjYV0S8h@eldamar.lan>