Confirming on jammy, and verifying 2.4.30-0ubuntu0.22.04.4 from the
security-proposed PPA, including the truncated-200 variant from #8 that
#15 could not reproduce.

Setup: haproxy 2.4.30-0ubuntu0.22.04.3 (installed by unattended-
upgrades) in front of an Apache 2.4.41 backend. With "Accept-Encoding:
gzip", mod_deflate serves a 148,429-byte gzipped static file as
Transfer-Encoding: chunked, in ~8 KB chunks.

With .3, most requests are logged as HTTP 200 (termination "----" or
"-D--") but the body is cut at a chunk boundary, usually at 56,682 bytes
(the end of chunk 7). Over HTTP/2 the client sees a normal end of stream
(curl exit 0), so the truncation is silent and only the gzip stream is
broken. Some requests are 502 PH-- instead. "show errors" reports
MSG_CHUNK_SIZE(26), "len 0, error at position 0", "H1 body len 56682". A
tcpdump on the backend side shows 7 complete, valid chunks, then HAProxy
sends FIN+RST before chunk 8 arrives. The error therefore also fires
mid-body, not only before the final "0" chunk. Because a 200 has already
been logged, monitoring based on 5xx rates does not catch it.

Test of the official PPA binary .4 (deb sha256 
dc19d020ac04e1c3afa7ca05331bb19bbab5b92057eb87de5b69d5c89a8e430e), run side by 
side with .2 and .3 against the same backend:
- 100 sequential requests: .2 100/100, .3 0/100 (89 truncated 200s, 11 502s), 
.4 100/100
- 8 concurrent clients, 400 requests: .3 0/400, .4 400/400
- chunk-size line longer than tune.bufsize=1024: .3 and .4 both reply 400 
immediately, so the CVE fix is kept.

PASS for us. We are holding .2 for now and will move to .4 once it is
published.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2172897

Title:
  haproxy 2.4.30-0ubuntu0.22.04.3: CVE-2026-110354 backport causes
  intermittent 502 (PH) on valid chunked responses

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/2172897/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to