CVE-2021-32778
NixOS vulnerability analysis and mitigation

Overview

Envoy, an open source L7 proxy and communication bus designed for large modern service oriented architectures, was found to contain a vulnerability (CVE-2021-32778) in its HTTP/2 stream handling. The issue was discovered in 2021 and affected versions prior to 1.19.1, 1.18.4, 1.17.4, and 1.16.5. The vulnerability stems from Envoy's procedure for resetting HTTP/2 streams having O(N^2) complexity (GitHub Advisory).

Technical details

The vulnerability has a CVSS score of 8.6 (High) with a vector of CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L. The technical issue involves the HTTP/2 stream reset procedure having quadratic time complexity (O(N^2)), which leads to excessive CPU utilization when handling a large number of stream resets. This vulnerability is classified under CWE-834 (GitHub Advisory).

Impact

The primary impact of this vulnerability is a potential Denial of Service (DoS) condition when Envoy is configured with high limits on HTTP/2 concurrent streams. The high CPU utilization resulting from the quadratic complexity can significantly degrade system performance (GitHub Advisory).

Mitigation and workarounds

Fixed versions (1.19.1, 1.18.4, 1.17.4) contain patches that reduce the time complexity of resetting HTTP/2 streams. For version 1.16, due to significant code divergence, backporting the fix was deemed risky. As a workaround, users can limit the number of simultaneous HTTP/2 streams for upstream and downstream peers to a low number (approximately 100 or lower) (GitHub Advisory, Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management