UBUNTU-CVE-2022-41717
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.
02 / AFFECTED SOFTWARE
Affected packages
1 explicit affected versions
2 explicit affected versions
10 explicit affected versions
8 explicit affected versions
1 explicit affected versions
2 explicit affected versions
5 explicit affected versions
9 explicit affected versions
9 explicit affected versions
1 explicit affected versions
1 explicit affected versions
2 explicit affected versions
6 explicit affected versions
6 explicit affected versions
3 explicit affected versions
3 explicit affected versions
1 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
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.
05 / REFERENCES
Further evidence
- https://github.com/golang/go/commit/618120c165669c00a1606505defea6ca755cdc27
- https://github.com/golang/go/commit/76cad4edc29d28432a7a0aa27e87385d3d7db7a1
- https://go.dev/cl/455635
- https://go.dev/cl/455717
- https://go.dev/issue/56350
- https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU
- https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU/m/yZDrXjIiBQAJ
- https://pkg.go.dev/vuln/GO-2022-1144
- https://ubuntu.com/security/CVE-2022-41717
- https://ubuntu.com/security/notices/USN-6038-1
- https://ubuntu.com/security/notices/USN-6038-2
- https://www.cve.org/CVERecord?id=CVE-2022-41717