Distro News

Ubuntu releases nghttp2 update to fix connection stalling regression

Key Takeaway

Ubuntu has issued a patch for the nghttp2 library to resolve a regression in the previous security fix that caused network connections to stall.

Summary

Ubuntu has released USN-8495-2 to address a regression introduced during a previous security update for the nghttp2 HTTP/2 C library. While the initial patch (USN-8495-1) addressed a critical request smuggling vulnerability, it inadvertently caused certain network connections to stall unexpectedly.

This update is available for multiple Ubuntu Long Term Support (LTS) releases, including 26.04, 24.04, and 22.04. Users running the nghttpx proxy or applications relying on nghttp2 for HTTP/2 communication should apply these updates to restore connection stability while maintaining security.

Technical details of the nghttp2 regression

  • Regression Cause: The previous security patch intended to fix HTTP request and response smuggling vulnerabilities introduced a bug that caused connection stalls.
  • Vulnerability Context: The original flaw involved the nghttpx proxy incorrectly processing HTTP/1.1 Upgrade requests that contained both a Content-Length header and a message body.
  • Affected Versions: The fix is distributed across specific package versions for Ubuntu 26.04 (1.68.0-2ubuntu0.3), 24.04 (1.59.0-1ubuntu0.5), and 22.04 (1.43.0-1ubuntu0.5).
  • Security Impact: The underlying vulnerability allowed remote attackers to potentially perform smuggling attacks against backend services via the nghttpx proxy.

Why it matters

System administrators and developers using nghttpx or nghttp2-dependent services on Ubuntu LTS must update to prevent service instability. This highlights the complexity of patching low-level networking libraries where security fixes can inadvertently impact protocol state machines and connection persistence.

Original reference: ubuntu.com →