CVE-2022-41717Golang Go
Medium 5.3 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 5.5% probability of exploitation in 30 days · percentile 94
- Auth required
- No
- Published
- Dec 8, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/net |
< 0.4.0 |
0.4.0 |
go get golang.org/x/net@v0.4.0 |
| Go | golang.org/x/net |
< 0.4.0 |
0.4.0 |
go get golang.org/x/net@v0.4.0 |
| Go | golang.org/x/net/http2 |
< 0.4.0 |
0.4.0 |
go get golang.org/x/net/http2@v0.4.0 |
| Go | stdlib |
< 1.18.9 |
1.18.9 |
go get stdlib@v1.18.9 |
| Go | stdlib |
≥ 1.19.0-0 < 1.19.4 |
1.19.4 |
go get stdlib@v1.19.4 |
Per OSV / GitHub Advisories (GHSA-xrjj-mj9h-534m, GO-2022-1144). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.18.9 |
| golang | go | ≥ 1.19.0 < 1.19.4 |
| golang | http2 | < 0.4.0 |
| fedoraproject | fedora | 37 |
| fedoraproject | fedora | 38 |
Official advisories
- Red Hat Security Advisory: container-tools:4.0 security and bug fix update · Red Hat · RHSA-2023:2802 · Oct 21, 2024 Medium
- Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update · Red Hat · RHSA-2023:2758 · Oct 21, 2024 Medium
- Red Hat Security Advisory: Satellite 6.14 security and bug fix update · Red Hat · RHSA-2023:6818 · Oct 2, 2024 High
Also: Red Hat (+3)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch Vendor Advisory
- go.dev Patch Vendor Advisory
- go.dev Patch Third Party Advisory
- groups.google.com Mailing List Release Notes Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org Mailing List
- lists.fedoraproject.org Mailing List
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org Mailing List
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- pkg.go.dev Vendor Advisory
- security.gentoo.org
- security.netapp.com