CVE-2021-44716: GO-2022-0288 - Unbounded memory growth in net/http and golang.org/x/net/http2

CVE-2021-44716 · Severity: low · CVSS 3.1 · Published 2022-07-15

Unbounded memory growth in net/http and golang.org/x/net/http2

Technologies: golang.org/x/net (Go), golang.org/x/net/http2 (Go), stdlib (Go). Vendors: Go.

Quick answers

Is CVE-2021-44716 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-44716 being exploited in the wild.
How severe is CVE-2021-44716?
Low severity, with a CVSS score of 3.1, published 15 July 2022.
Which products and versions are affected?
golang.org/x/net (Go) SEMVER:introduced=0,fixed=0.0.0-20211209124913-491a49abca63; golang.org/x/net/http2 (Go) SEMVER:introduced=0,fixed=0.0.0-20211209124913-491a49abca63; stdlib (Go) SEMVER:introduced=0,fixed=1.16.12,introduced=1.17.0-0,fixed=1.17.5.
Is there a fix for CVE-2021-44716?
Yes. golang.org/x/net (Go): upgrade to 0.0.0-20211209124913-491a49abca63 or later; golang.org/x/net/http2 (Go): upgrade to 0.0.0-20211209124913-491a49abca63 or later; stdlib (Go): upgrade to 1.17.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-44716?
Check whether you run golang.org/x/net (Go), golang.org/x/net/http2 (Go) or stdlib (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • golang.org/x/net (Go): upgrade to 0.0.0-20211209124913-491a49abca63 or later
    go get golang.org/x/net@v0.0.0-20211209124913-491a49abca63
  • golang.org/x/net/http2 (Go): upgrade to 0.0.0-20211209124913-491a49abca63 or later
    go get golang.org/x/net/http2@v0.0.0-20211209124913-491a49abca63
  • stdlib (Go): upgrade to 1.17.5 or later
    go get stdlib@v1.17.5

Affected products

  • golang.org/x/net (Go) SEMVER:introduced=0,fixed=0.0.0-20211209124913-491a49abca63
  • golang.org/x/net/http2 (Go) SEMVER:introduced=0,fixed=0.0.0-20211209124913-491a49abca63
  • stdlib (Go) SEMVER:introduced=0,fixed=1.16.12,introduced=1.17.0-0,fixed=1.17.5

Identifiers

  • CVE-2021-44716
  • GHSA-vc3p-29h2-gpcp
  • GO-2022-0288

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.