CVE-2023-39325
JSON

7.5high

HTTP/2 rapid reset can cause excessive work in net/http

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
3.80% (higher than 90% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GHSA-4374-p667-p6c8BIT-GOLANG-2023-39325GO-2023-2102

Description

A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded by the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. With the fix applied, HTTP/2 servers now bound the number of simultaneously executing handler goroutines to the stream concurrency limit (MaxConcurrentStreams). New requests arriving when at the limit (which can only happen after the client has reset an existing, in-flight request) will be queued until a handler exits. If the request queue grows too large, the server will terminate the connection. This issue is also fixed in golang.org/x/net/http2 for users manually configuring HTTP/2. The default stream concurrency limit is 250 streams (requests) per HTTP/2 connection. This value may be adjusted using the golang.org/x/net/http2 package; see the Server.MaxConcurrentStreams setting and the ConfigureServer function.

Affected

Product or packageVersionsReported by
net/httpbefore 1.20.10, from 1.21.0-0 before 1.21.3CVE List
golang.org/x/net/http2before 0.17.0CVE List
golang.org/x/net (Go)before 0.17.0GitHub Advisory Database, Go Vulnerability Database
stdlib (Go)before 1.20.10, from 1.21.0-0 before 1.21.3Go Vulnerability Database
golang gofrom 1.20.0 before 1.20.10, from 1.21.0 before 1.21.3NVD
golang http2before 0.17.0NVD
fedoraproject fedora37, 38, 39NVD
netapp astra_tridentNot specifiedNVD
netapp astra_trident_autosupportNot specifiedNVD
golang (Bitnami)from 1.20.0 before 1.20.10, from 1.21.0 before 1.21.3Bitnami Vulnerability Database

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded by the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. With the fix applied, HTTP/2 servers now bound the number of simultaneously executing handler goroutines to the stream concurrency limit (MaxConcurrentStreams). New requests arriving when at the limit (which can only happen after the client has reset an existing, in-flight request) will be queued until a handler exits. If the request queue grows too large, the server will terminate the connection. This issue is also fixed in golang.org/x/net/http2 for users manually configuring HTTP/2. The default stream concurrency limit is 250 streams (requests) per HTTP/2 connection. This value may be adjusted using the golang.org/x/net/http2 package; see the Server.MaxConcurrentStreams setting and the ConfigureServer function.

NVD (es)

Un cliente HTTP/2 malicioso que crea solicitudes rápidamente y las restablece inmediatamente puede provocar un consumo excesivo de recursos del servidor. Si bien el número total de solicitudes está limitado por la configuración http2.Server.MaxConcurrentStreams, restablecer una solicitud en curso permite al atacante crear una nueva solicitud mientras la existente aún se está ejecutando. Con la solución aplicada, los servidores HTTP/2 ahora vincularon el número de rutinas de controlador que se ejecutan simultáneamente al límite de concurrencia de transmisión (MaxConcurrentStreams). Las nuevas solicitudes que lleguen cuando se encuentre en el límite (lo que solo puede ocurrir después de que el cliente haya restablecido una solicitud existente en curso) se pondrán en cola hasta que salga un controlador. Si la cola de solicitudes crece demasiado, el servidor finalizará la conexión. Este problema también se solucionó en golang.org/x/net/http2 para los usuarios que configuran HTTP/2 manualmente. El límite de simultaneidad de transmisiones predeterminado es 250 transmisiones (solicitudes) por conexión HTTP/2. Este valor se puede ajustar utilizando el paquete golang.org/x/net/http2; consulte la configuración Server.MaxConcurrentStreams y la función ConfigureServer.

References

https://go.dev/issue/63417advisory, issue-tracking, report, vendor-advisory, web
https://go.dev/cl/534215advisory, fix, vendor-advisory, web
https://go.dev/cl/534235advisory, fix, vendor-advisory, web
https://groups.google.com/g/golang-announce/c/iNNxDTCjZvo/m/UDd7VKQuAAAJarticle, release-notes, web
https://pkg.go.dev/vuln/GO-2023-2102advisory, vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSEGD2IWKNUO3DWY4KQGUQM5BISRWHQE/discussion, mailing-list
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CLB4TW7KALB3EEQWNWCN7OUIWWVWWCG2/discussion, mailing-list
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XFOIBB4YFICHDM7IBOP7PWXW3FX4HLL2/discussion, mailing-list
https://security.netapp.com/advisory/ntap-20231110-0008/advisory, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OXGWPQOJ3JNDW2XIYKIVJ7N7QUIFNM2Q/advisory, mailing-list, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HZQIELEIRSZUYTFFH5KTH2YJ4IIQG2KE/advisory, mailing-list, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QF5QSYAOPDOWLY6DUHID56Q4HQFYB45I/advisory, mailing-list, third-party-advisory

Related

Sources

SourceRecordLicence
CVE ListCVE-2023-39325 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-4374-p667-p6c8 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2023-2102 changed 2026-11-13CC-BY-4.0
NVDCVE-2023-39325 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2023-39325 changed 2026-09-08Apache-2.0