Skip to main content

CVE-2023-39325 — Vulnerability in golang.org/x/net — CVE Details

HIGH

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

Published October 11, 2023Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (3.85%). Schedule for your next planned update.

Does your project use an affected golang.org/x/net version?

Paste your go.sum to check it for CVE-2023-39325 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

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.

Advisory Timeline

  • First published October 11, 2023 (1142 days ago).
  • Last revised September 10, 2026 — 1064 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update golang.org/x/net to 0.17.0 or later
go get golang.org/x/net@v0.17.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Go (1).

PackageFixed In
golang.org/x/net Go · Affected: All versions0.17.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-400
    Uncontrolled Resource ConsumptionMITRE
  • CWE-770
    Allocation of Resources Without LimitsMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Frequently Asked Questions

What is CVE-2023-39325?
HTTP/2 rapid reset can cause excessive work in net/http. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2023-39325?
CVE-2023-39325 affects golang.org/x/net. It has a 3.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-39325 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
3.85%
EPSS percentile: 90.9

This places it in the top 10% of EPSS-scored vulnerabilities — 90.9% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.

Also Known As

GHSA-4374-p667-p6c8
BIT-golang-2023-39325
GO-2023-2102

Related CVEs

  • CVE-2021-44716

    Unbounded memory growth in net/http and golang.org/x/net/http2

  • CVE-2022-27664

    Denial of service in net/http and golang.org/x/net/http2

  • CVE-2022-41717

    Excessive memory growth in net/http and golang.org/x/net/http2

  • CVE-2022-41723

    Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net

  • CVE-2023-3978

    Improper rendering of text nodes in golang.org/x/net/html

  • CVE-2023-45288

    HTTP/2 CONTINUATION flood in net/http

  • CVE-2024-45338

    Non-linear parsing of case-insensitive content in golang.org/x/net/html

  • CVE-2025-22870

    HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum