CVE-2021-44716 — Unbounded memory growth in golang.org/x/net
Unbounded memory growth in net/http and golang.org/x/net/http2
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (4.25%). Schedule for your next planned update.
Does your project use an affected golang.org/x/net version?
Paste your go.sum to check it for CVE-2021-44716 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
An attacker can cause unbounded memory growth in servers accepting HTTP/2 requests.
Advisory Timeline
- First published July 15, 2022 (1595 days ago).
- Last revised May 20, 2024 — 675 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get golang.org/x/net@v0.0.0-20211209124913-491a49abca63
go get stdlib@v1.16.12
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Go (2).
| Package | Fixed In |
|---|---|
| golang.org/x/net Go · Affected: All versions | 0.0.0-20211209124913-491a49abca63 |
| stdlib Go · Affected: All versions | 1.16.12, 1.17.5 |
References
Frequently Asked Questions
- What is CVE-2021-44716?
- Unbounded memory growth in net/http and golang.org/x/net/http2. This vulnerability has been assigned a severity rating of Unknown.
- How do I check if my project is affected by CVE-2021-44716?
- CVE-2021-44716 affects golang.org/x/net and stdlib. It has a 4.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-44716 and 200,000+ other known vulnerabilities.
Severity & Exploitability
This places it in the top 10% of EPSS-scored vulnerabilities — 91.8% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2021-31525
Panic due to large headers in net/http and golang.org/x/net/http/httpguts
- CVE-2022-27664
Denial of service in net/http and golang.org/x/net/http2
- CVE-2022-41717
Excessive memory growth in net/http and golang.org/x/net/http2
- CVE-2022-41723
Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net
- CVE-2023-39325
HTTP/2 rapid reset can cause excessive work in net/http
- CVE-2023-45288
HTTP/2 CONTINUATION flood in net/http
- CVE-2025-22870
HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
- CVE-2026-33814
Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net