CVE-2021-44716
golang: net/http: limit growth of header canonicalization cache
Overview
Description
net/http in Go before 1.16.12 and 1.17.x before 1.17.5 allows uncontrolled memory consumption in the header canonicalization cache via HTTP/2 requests.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-400
Affected packages · 5
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | golang | <1.16.12>=1.17.0, <1.17.5 | 1.16.121.17.5 |
| Go | golang.org/x/net | <0.0.0-20211209124913-491a49abca63 | 0.0.0-20211209124913-491a49abca63 |
| Go | stdlib | <1.16.12>=1.17.0-0, <1.17.5 | 1.16.121.17.5 |
| Seal Go | golang.org/x/net | >=0.0.0-20210224082022-3d97a244fca7-sp0, <0.0.0-20210224082022-3d97a244fca7-sp3 | 0.0.0-20210224082022-3d97a244fca7-sp3 |
| Seal Go | sealsecurity.io/golang.org/x/net | >=0.0.0-20210224082022-3d97a244fca7-sp1, <0.0.0-20210224082022-3d97a244fca7-sp3 | 0.0.0-20210224082022-3d97a244fca7-sp3 |
Open a package to see all its vulnerabilities.
Operating systems · 76 fixes
Azure Linux 1 release · 6 packages
fixed 6
node-problem-detector
prometheus-process-exporter
buildah
keda
moby-engine
multus
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | node-problem-detector | 0:0.8.15-1.azl3 |
| 3.0 | prometheus-process-exporter | 0:0.8.2-1.azl3 |
| 3.0 | buildah | 0:1.41.4-2.azl3 |
| 3.0 | keda | 0:2.14.0-1.azl3 |
| 3.0 | moby-engine | 0:25.0.3-1.azl3 |
| 3.0 | multus | 0:4.0.2-1.azl3 |
Oracle Linux 1 release · 3 packages
fixed 3
go-toolset
delve
grafana
| Release | Package | Fixed in |
|---|---|---|
| 8 | go-toolset +7 | 1.16.12-1.module+el8.5.0+20456+eee863d9 |
| 8 | delve | 1.6.0-1.0.1.module+el8.5.0+20332+2a8a7cc5 |
| 8 | grafana | 7.5.9-5.el8_5 |
Photon OS 1 release · 2 packages
fixed 2
go
kubernetes-dashboard
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | go | 1.17.2-2.ph4 |
| 4.0 | kubernetes-dashboard | 2.7.0-1.ph4 |
Red Hat 4 releases · 20 packages
affected 2
fixed 30
eol 1
golang
etcd
grafana
atomic-openshift
go-toolset-1-16
cri-o
+14
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| golang +10 | affected | — | |
| etcd | 0:3.3.23-9.el7rhgs | RHSA-2022:1628 | |
| grafana | 0:5.2.4-5.el7rhgs | RHSA-2022:1628 | |
| 7 | atomic-openshift +14 | eol | — |
| 7 | go-toolset-1-16 +10 | 0:1.16.12-1.el7_9 | RHSA-2021:5176 |
| 7 | cri-o | 0:1.22.1-17.rhaos4.9.git3029b1d.el7 | RHSA-2022:0557 |
27 more rows
alma 2 releases · 3 packages
fixed 3
grafana
go-toolset
delve
| Release | Package | Fixed in |
|---|---|---|
| 8 | grafana | 7.5.9-5.el8_5 |
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.16.12-1.module_el8.5.0+2604+960c7771 |
| 8 (go-toolset:rhel8) | delve | 1.6.0-1.module_el8.5.0+2604+960c7771 |
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.17.6-r0 |
| 3.23 | go | 1.17.6-r0 |
| 3.24 | go | 1.17.6-r0 |
| edge | go | 1.17.6-r0 |
amazon linux 1 release · 1 package
fixed 1
golang
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golang +7 | 1.19.3-2.amzn2023.0.2 |
debian 6 releases · 6 packages
affected 3
fixed 7
golang-golang-x-net-dev
golang-1-11
golang-golang-x-net
golang-1-15
golang-1-7
golang-1-8
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-golang-x-net-dev | affected |
| 10 | golang-1-11 | 1.11.6-1+deb10u6 |
| 11 | golang-golang-x-net | affected |
| 11 | golang-1-15 | 1.15.15-1~deb11u2 |
| 12 | golang-golang-x-net | 1:0.0+git20211209.491a49a+dfsg-1 |
| 13 | golang-golang-x-net | 1:0.0+git20211209.491a49a+dfsg-1 |
4 more rows
echo 1 release · 1 package
fixed 1
golang-golang-x-net
| Release | Package | Fixed in |
|---|---|---|
| golang-golang-x-net | 1:0.0+git20211209.491a49a+dfsg-1 |
openSUSE 1 release · 2 packages
fixed 2
go1-16
go1-17
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-16 +2 | 1.16.12-1.1 | openSUSE-SU-2024:11671-1 |
| Tumbleweed | go1-17 +2 | 1.17.5-1.1 | openSUSE-SU-2024:11672-1 |
rocky 2 releases · 3 packages
fixed 3
grafana
go-toolset
delve
| Release | Package | Fixed in |
|---|---|---|
| 8 | grafana | 7.5.9-5.el8_5 |
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.16.12-1.module+el8.5.0+720+c057d5cf |
| 8 (go-toolset:rhel8) | delve | 1.6.0-1.module+el8.5.0+694+f77f0bfd |
root.io debian 1 release · 1 package
fixed 1
rootio-golang-golang-x-net
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-golang-x-net | 1:0.0+git20211209.491a49a+dfsg-1 |
ubuntu 6 releases · 3 packages
affected 2
fixed 5
golang-1-8
google-guest-agent
golang-golang-x-net-dev
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | golang-1-8 +2 | affected |
| 20.04 | google-guest-agent | 20231004.02-0ubuntu1~20.04.3 |
| 20.04-ESM | golang-golang-x-net-dev | affected |
| 20.04-ESM | google-guest-agent | 20231004.02-0ubuntu1~20.04.3 |
| 22.04 | google-guest-agent | 20231004.02-0ubuntu1~22.04.3 |
| 24.04 | google-guest-agent | 20230426.00-0ubuntu2 |
1 more row
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:0001
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-44716
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2030801
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/pdf/ssa-744259.pdf
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44716
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:0001
- github.com https://github.com/golang/go/commit/48d948963c5ce7add72af5665a871caff6c1d35a (go1.17.5)
- github.com https://github.com/golang/net/commit/491a49abca63de5e07ef554052d180a1b5fe2d70
- go.dev https://go.dev/cl/369794
Show all 23 references
- go.dev https://go.dev/issue/50058
- groups.google.com https://groups.google.com/g/golang-announce/c/hcmEScgc00k
- groups.google.com https://groups.google.com/g/golang-announce/c/hcmEScgc00k/m/ZWnOjeY4CQAJ
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-44716.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-0001.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/01/msg00016.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/01/msg00017.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-44716
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-0288
- security.gentoo.org https://security.gentoo.org/glsa/202208-02
- security.netapp.com https://security.netapp.com/advisory/ntap-20220121-0002/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-44716
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.