GO-2022-0536
Reset flood in net/http and golang.org/x/net/http
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2019-9512, CVE-2019-9514
- Alias
- GHSA-39qc-96h7-956f, GHSA-hgr8-6h9x-f7q9
Description
Some HTTP/2 implementations are vulnerable to a reset flood, potentially leading to a denial of service. Servers that accept direct connections from untrusted clients could be remotely made to allocate an unlimited amount of memory, until the program crashes. The attacker opens a number of streams and sends an invalid request over each stream that should solicit a stream of RST_STREAM frames from the peer. Depending on how the peer queues the RST_STREAM frames, this can consume excess memory, CPU, or both.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.11.13, introduced 1.12.0-0, fixed 1.12.8 |
| Go · golang.org/x/net | introduced 0, fixed 0.0.0-20190813141303-74dc4d7220e7 |
Références
- https://go.dev/cl/190137 FIX
- https://go.googlesource.com/go/+/145e193131eb486077b66009beb051aba07c52a5 FIX
- https://go.dev/issue/33606 REPORT
- https://groups.google.com/g/golang-announce/c/65QixT3tcmg/m/DrFiG6vvCwAJ WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |