p PatchFirst

CVE-2023-39325

CVE-2023-39325 · HTTP/2 rapid reset can cause excessive work in net/http

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

CVSS 7.5 · High · EPSS 3.8% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • net/http

    Versions
    • ≥ 0, < 1.20.10: Affected (semver)
    • ≥ 1.21.0-0, < 1.21.3: Affected (semver)

    Update to 1.20.10; Update to 1.21.3

  • golang.org/x/net/http2

    Versions
    • ≥ 0, < 0.17.0: Affected (semver)

    Update to 0.17.0

  • golang-1.19 Debian:12

    Versions
    • 1.19.10-1
    • 1.19.10-2
    • 1.19.11-1
    • 1.19.12-1
    • 1.19.12-2
    • 1.19.12-2~bpo11+1
    • 1.19.12-2~bpo12+1
    • 1.19.13-1
    • 1.19.13-1~bpo11+1
    • 1.19.13-1~bpo12+1
    • 1.19.8-2
    • 1.19.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.10 Ubuntu:14.04:LTS

    Versions
    • 1.10.4-2ubuntu1~14.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.18 Ubuntu:Pro:16.04:LTS

    Versions
    • 1.18.1-1ubuntu1~16.04.6
    Affected ranges
    • ECOSYSTEM: < 1.18.1-1ubuntu1~16.04.6+esm1

    Update to 1.18.1-1ubuntu1~16.04.6+esm1

  • golang-1.10 Ubuntu:16.04:LTS

    Versions
    • 1.10.4-2ubuntu1~16.04.1
    • 1.10.4-2ubuntu1~16.04.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.6 Ubuntu:16.04:LTS

    Versions
    • 1.6-0ubuntu1
    • 1.6-0ubuntu2
    • 1.6-0ubuntu3
    • 1.6-0ubuntu4
    • 1.6-0ubuntu5
    • 1.6.1-0ubuntu1
    • 1.6.2-0ubuntu5~16.04
    • 1.6.2-0ubuntu5~16.04.2
    • 1.6.2-0ubuntu5~16.04.3
    • 1.6.2-0ubuntu5~16.04.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.13 Ubuntu:Pro:16.04:LTS

    Versions
    • 1.13.8-1ubuntu1~16.04.2
    • 1.13.8-1ubuntu1~16.04.3
    • 1.13.8-1ubuntu1~16.04.3+esm2
    • 1.13.8-1ubuntu1~16.04.3+esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.10 Ubuntu:18.04:LTS

    Versions
    • 1.10~rc1-1
    • 1.10~rc1-1ubuntu1
    • 1.10~rc1-2ubuntu1
    • 1.10~rc2-1ubuntu1
    • 1.10-1ubuntu1
    • 1.10.1-1ubuntu2
    • 1.10.4-2ubuntu1~18.04.1
    • 1.10.4-2ubuntu1~18.04.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.13 Ubuntu:Pro:18.04:LTS

    Versions
    • 1.13.8-1ubuntu1~18.04.2
    • 1.13.8-1ubuntu1~18.04.3
    • 1.13.8-1ubuntu1~18.04.4
    • 1.13.8-1ubuntu1~18.04.4+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.16 Ubuntu:Pro:18.04:LTS

    Versions
    • 1.16.2-0ubuntu1~18.04.2
    • 1.16.2-0ubuntu1~18.04.2+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.18 Ubuntu:Pro:18.04:LTS

    Versions
    • 1.18.1-1ubuntu1~18.04.3
    • 1.18.1-1ubuntu1~18.04.4
    Affected ranges
    • ECOSYSTEM: < 1.18.1-1ubuntu1~18.04.4+esm1

    Update to 1.18.1-1ubuntu1~18.04.4+esm1

  • golang-1.8 Ubuntu:18.04:LTS

    Versions
    • 1.8.3-2ubuntu1
    • 1.8.3-2ubuntu1.18.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.9 Ubuntu:18.04:LTS

    Versions
    • 1.9.1-2ubuntu1
    • 1.9.2-1ubuntu1
    • 1.9.2-3ubuntu1
    • 1.9.3-1ubuntu1
    • 1.9.4-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.18 Ubuntu:20.04:LTS

    Versions
    • 1.18.1-1ubuntu1~20.04.1
    • 1.18.1-1ubuntu1~20.04.2
    Affected ranges
    • ECOSYSTEM: < 1.18.1-1ubuntu1~20.04.3

    Update to 1.18.1-1ubuntu1~20.04.3

  • golang-1.20 Ubuntu:20.04:LTS

    Versions
    • 1.20.3-1ubuntu0.1~20.04
    Affected ranges
    • ECOSYSTEM: < 1.20.3-1ubuntu0.1~20.04.1

    Update to 1.20.3-1ubuntu0.1~20.04.1

  • golang-1.21 Ubuntu:20.04:LTS

    Versions
    • 1.21.1-1~ubuntu20.04.1
    Affected ranges
    • ECOSYSTEM: < 1.21.1-1~ubuntu20.04.2

    Update to 1.21.1-1~ubuntu20.04.2

  • golang-1.13 Ubuntu:20.04:LTS

    Versions
    • 1.13.1-1ubuntu1
    • 1.13.3-1ubuntu1
    • 1.13.4-1ubuntu1
    • 1.13.5-1ubuntu1
    • 1.13.6-1ubuntu1
    • 1.13.6-2ubuntu1
    • 1.13.7-1ubuntu1
    • 1.13.8-1ubuntu1
    • 1.13.8-1ubuntu1.1
    • 1.13.8-1ubuntu1.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.14 Ubuntu:20.04:LTS

    Versions
    • 1.14~beta1-1
    • 1.14~beta1-2
    • 1.14~rc1-1
    • 1.14-1
    • 1.14.1-1
    • 1.14.2-1
    • 1.14.2-1ubuntu1
    • 1.14.3-2ubuntu2~20.04.1
    • 1.14.3-2ubuntu2~20.04.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.16 Ubuntu:Pro:20.04:LTS

    Versions
    • 1.16.2-0ubuntu1~20.04
    • 1.16.2-0ubuntu1~20.04.1
    • 1.16.2-0ubuntu1~20.04.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-1.17 Ubuntu:22.04:LTS

    Versions
    • 1.17-1ubuntu2
    • 1.17.3-1ubuntu1
    • 1.17.3-1ubuntu2
    • 1.17.13-3ubuntu1
    Affected ranges
    • ECOSYSTEM: < 1.17.13-3ubuntu1.2

    Update to 1.17.13-3ubuntu1.2

  • golang-1.18 Ubuntu:22.04:LTS

    Versions
    • 1.18~beta1-0ubuntu1
    • 1.18~beta2-1ubuntu1
    • 1.18~beta2-1ubuntu2
    • 1.18~rc1-1ubuntu1
    • 1.18-1ubuntu1
    • 1.18.1-1ubuntu1
    • 1.18.1-1ubuntu1.1
    Affected ranges
    • ECOSYSTEM: < 1.18.1-1ubuntu1.2

    Update to 1.18.1-1ubuntu1.2

  • golang-1.20 Ubuntu:22.04:LTS

    Versions
    • 1.20.3-1ubuntu0.1~22.04
    Affected ranges
    • ECOSYSTEM: < 1.20.3-1ubuntu0.1~22.04.1

    Update to 1.20.3-1ubuntu0.1~22.04.1

  • golang-1.21 Ubuntu:22.04:LTS

    Versions
    • 1.21.1-1~ubuntu22.04.1
    Affected ranges
    • ECOSYSTEM: < 1.21.1-1~ubuntu22.04.2

    Update to 1.21.1-1~ubuntu22.04.2

Original sources

Check your server →