CVE-2022-41717
golang: net/http: excessive memory growth in a Go server accepting HTTP/2 requests
Overview
Description
An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests. HTTP/2 server connections contain a cache of HTTP header keys sent by the client. While the total number of entries in this cache is capped, an attacker sending very large keys can cause the server to allocate approximately 64 MiB per open connection.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
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
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-770
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | golang | <1.18.9>=1.19.0, <1.19.4 | 1.18.91.19.4 |
| Go | golang.org/x/net | <0.4.0 | 0.4.0 |
| Go | stdlib | <1.18.9>=1.19.0-0, <1.19.4 | 1.18.91.19.4 |
Open a package to see all its vulnerabilities.
Operating systems · 253 fixes
Azure Linux 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | golang | 0:1.17.13-2,1.18.8-2,1.21.6-1.azl3 |
| 3.0 | prometheus | 0:2.45.4-1.azl3 |
| 3.0 | moby-engine | 0:25.0.3-1.azl3 |
| 3.0 | sriov-network-device-plugin | 0:3.7.0-1.azl3 |
| 3.0 | podman | 0:5.6.1-2.azl3 |
Oracle Linux 2 releases · 28 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | udica | 0.2.6-20.module+el8.8.0+21045+adcb6a64 |
| 8 | fuse-overlayfs | 1.10-1.module+el8.8.0+21045+adcb6a64 |
| 8 | go-toolset | 1.19.4-1.module+el8.7.0+20922+47ac84ba |
| 8 | golang +6 | 1.19.4-2.0.1.module+el8.7.0+20922+47ac84ba |
| 8 | slirp4netns | 1.2.0-2.module+el8.8.0+21045+adcb6a64 |
| 8 | oci-seccomp-bpf-hook | 1.2.8-1.module+el8.8.0+21045+adcb6a64 |
32 more rows
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | go | 1.19.3-2.ph4 |
| 5.0 | go | 1.26.3-1.ph5 |
Red Hat 9 releases · 40 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| go-toolset-7-golang | eol | — | |
| golang +5 | wont fix | — | |
| 7 | foreman-ygg-worker +2 | affected | — |
| 7 | buildah +9 | eol | — |
| 7 | rh-git227-git-lfs | wont fix | — |
| 7 | openshift-hyperkube | 0:4.10.0-202306170106.p0.g16bcd69.assembly.stream.el7 | RHSA-2023:3910 |
94 more rows
SUSE Linux Enterprise 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-18-openssl +2 | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| 15.4 | go1-18 +2 | 1.18.9-150000.1.40.1 | SUSE-SU-2022:4398-1 |
| 15.4 | go1-19 +2 | 1.19.4-150000.1.18.1 | SUSE-SU-2022:4397-1 |
alma 4 releases · 24 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | git-lfs | 3.2.0-2.el8 |
| 8 | weldr-client | 35.9-2.el8 |
| 8 | osbuild-composer +3 | 75-1.el8.alma |
| 8 (container-tools:4.0) | toolbox +1 | 0.0.99.3-7.module_el8.8.0+3468+16b86c82 |
| 8 (container-tools:4.0) | udica | 0.2.6-3.module_el8.6.0+2886+d33c3efb |
| 8 (container-tools:4.0) | slirp4netns | 1.1.8-2.module_el8.6.0+2877+8e437bf5 |
46 more rows
alpine 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | minio-client | 0.20230111.031416-r0 |
| 3.22 | go | 1.19.4-r0 |
| 3.23 | minio-client | 0.20230111.031416-r0 |
| 3.23 | go | 1.19.4-r0 |
| 3.24 | minio-client | 0.20230111.031416-r0 |
| 3.24 | go | 1.19.4-r0 |
2 more rows
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | golang +7 | 1.19.8-1.amzn2023.0.1 |
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 | |
| terraform-provider-sendgrid +1 | 1.0.1-r1 | |
| kubeflow-fips | 1.10.0-r2 | |
| kubeflow | 1.10.0-r4 |
debian 5 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 +1 | affected |
| 11 | golang-1-15 +1 | affected |
| 12 | golang-1-19 | 1.19.4-1 |
| 12 | golang-golang-x-net | 1:0.4.0+dfsg-1 |
| 13 | golang-golang-x-net | 1:0.4.0+dfsg-1 |
| 14 | golang-golang-x-net | 1:0.4.0+dfsg-1 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | 1.19.4-1 | |
| golang-golang-x-net | 1:0.4.0+dfsg-1 |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| unoserver-rest-api | 0.8.3-r2 | |
| trigger-dev | 4.5.11-r1 |
openSUSE 1 release · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | velero +3 | 1.11.1-1.1 | openSUSE-SU-2024:13225-1 |
| Tumbleweed | go1-18 +2 | 1.18.9-1.1 | openSUSE-SU-2024:12552-1 |
| Tumbleweed | go1-19 +2 | 1.19.4-1.1 | openSUSE-SU-2024:12553-1 |
| Tumbleweed | traefik2 | 2.11.5-1.1 | openSUSE-SU-2024:14076-1 |
| Tumbleweed | traefik | 2.9.6-1.1 | openSUSE-SU-2024:12615-1 |
| Tumbleweed | kustomize +3 | 5.1.1-1.1 | openSUSE-SU-2024:13299-1 |
rocky 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (container-tools:4.0) | oci-seccomp-bpf-hook | 1.2.5-2.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | crit +4 | 3.15-3.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | libslirp +1 | 4.4.0-1.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | cockpit-podman | 46-1.module+el8.9.0+1445+07728297 |
root.io debian 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | 1.19.4-1 |
| 12 | rootio-golang-golang-x-net | 1:0.4.0+dfsg-1 |
ubuntu 5 releases · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | golang-1-18 | 1.18.1-1ubuntu1~18.04.4 |
| 18.04-ESM | golang-1-10 +2 | affected |
| 18.04-ESM | golang-1-13 | 1.13.8-1ubuntu1~18.04.4+esm1 |
| 18.04-ESM | golang-1-16 | 1.16.2-0ubuntu1~18.04.2+esm1 |
| 18.04-ESM | golang-1-18 | 1.18.1-1ubuntu1~18.04.4 |
| 20.04 | golang-1-13 | 1.13.8-1ubuntu1.2 |
9 more rows
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 | |
| terraform-provider-sendgrid | 1.0.1-r1 | |
| kubeflow | 1.10.0-r4 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:2802
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:6420
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-41717
- bugzilla.redhat.com https://bugzilla.redhat.com/2131146
- bugzilla.redhat.com https://bugzilla.redhat.com/2131147
- bugzilla.redhat.com https://bugzilla.redhat.com/2131148
- bugzilla.redhat.com https://bugzilla.redhat.com/2138014
- bugzilla.redhat.com https://bugzilla.redhat.com/2138015
- bugzilla.redhat.com https://bugzilla.redhat.com/2148252
- bugzilla.redhat.com https://bugzilla.redhat.com/2158420
Show all 76 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2161274
- bugzilla.redhat.com https://bugzilla.redhat.com/2184483
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107342
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107371
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107374
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107376
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107383
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107386
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107388
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107390
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107392
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2113814
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2121445
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2124669
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2161274
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2168256
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1705
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1962
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27664
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28131
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2989
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30630
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30631
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30632
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30633
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30635
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32148
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32189
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41717
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0778
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-6420.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:2802
- github.com https://github.com/golang/go/commit/618120c165669c00a1606505defea6ca755cdc27 (go1.19.4)
- github.com https://github.com/golang/go/commit/76cad4edc29d28432a7a0aa27e87385d3d7db7a1 (go1.18.9)
- go.dev https://go.dev/cl/455635
- go.dev https://go.dev/cl/455717
- go.dev https://go.dev/issue/56350
- groups.google.com https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU
- groups.google.com https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU/m/yZDrXjIiBQAJ
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-41717.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-6420.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4BUK2ZIAGCULOOYDNH25JPU6JBES5NF2/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4SBIUECMLNC572P23DDOKJNKPJVX26SP/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/56B2FFESRYYP6IY2AZ3UWXLWKZ5IYZN4/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5RSKA2II6QTD4YUKUNDVJQSRYSFC4VFR/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ANIOPUXWIHVRA6CEWXCGOMX3YYS6KFHG/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CHHITS4PUOZAKFIUBQAQZC7JWXMOYE4B/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CSVIS6MTMFVBA7JPMRAUNKUOYEVSJYSB/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KEOTKBUPZXHE3F352JBYNTSNRXYLWD6P/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NQGNAXK3YBPMUP3J4TECIRDHFGW37522/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PUM4DIVOLJCBK5ZDP4LJOL24GXT3YSIR/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PW3XC47AUW5J5M2ULJX7WCCL3B2ETLMT/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q52IQI754YAE4XPR4QBRWPIVZWYGZ4FS/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QBKBAZBIOXZV5QCFHZNSVXULR32XJCYD/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/REMHVVIBDNKSRKNOTV7EQSB7CYQWOUOU/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T7N5GV4CHH6WAGX3GFMDD3COEOVCZ4RI/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WPEIZ7AMEJCZXU3FEJZMVRNHQZXX5P3I/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZSVEMQV5ROY5YW5QE3I57HT3ITWG5GCV/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-41717
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-1144
- security.gentoo.org https://security.gentoo.org/glsa/202311-09
- security.netapp.com https://security.netapp.com/advisory/ntap-20230120-0008/
- ubuntu.com https://ubuntu.com/security/notices/USN-6038-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6038-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-41717
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.