The Parse function permits values other than IPv6 addresses to be included in square brackets within the host component of a URL. RFC 3986 permits IPv6 addresses to be included within the host component, enclosed within square brackets. For example: "http://[::1]/". IPv4 addresse...
Vendor
net vulnerabilities
51 published CVES affecting net, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 51
- Critical
- 3
- High
- 29
- Medium
- 19
- Low
- 0
- Unscored
- 0
- CISA KEV
- 0
Products
- net/http 27
- net/http/internal/http2 6
- net/textproto 6
- net/url 5
- net 4
- net/mail 4
- net/http/httputil 3
- net/http/internal 2
- net/http/cookiejar 1
- net/netip 1
Latest net CVEs
Newest publication first · page 2 of 3
-
MediumCVSS 5.3 EPSS 0.47%
-
HighCVSS 7.5 EPSS 0.65%
The ParseAddress function constructs domain-literal address components through repeated string concatenation. When parsing large domain-literal components, this can cause excessive CPU consumption.
-
MediumCVSS 5.4 EPSS 0.36%
When using http.CrossOriginProtection, the AddInsecureBypassPattern method can unexpectedly bypass more requests than intended. CrossOriginProtection then skips validation, but forwards the original request path, which may be served by a different handler without the intended sec...
-
MediumCVSS 6.8 EPSS 0.67%
Proxy-Authorization and Proxy-Authenticate headers persisted on cross-origin redirects potentially leaking sensitive information.
-
CriticalCVSS 9.1 EPSS 0.84%
The net/http package improperly accepts a bare LF as a line terminator in chunked data chunk-size lines. This can permit request smuggling if a net/http server is used in conjunction with a server that incorrectly accepts a bare LF as part of a chunk-ext.
-
MediumCVSS 4.4 EPSS 0.43%
Matching of hosts against proxy patterns can improperly treat an IPv6 zone ID as a hostname component. For example, when the NO_PROXY environment variable is set to "*.example.com", a request to "[::1%25.example.com]:80` will incorrectly match and not be proxied.
-
MediumCVSS 6.1 EPSS 0.71%
The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain re...
-
HighCVSS 7.5 EPSS 1.4%
The net/http HTTP/1.1 client mishandled the case where a server responds to a request with an "Expect: 100-continue" header with a non-informational (200 or higher) status. This mishandling could leave a client connection in an invalid state, where the next request sent on the co...
-
CVE-2024-24790 Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
PublishedCriticalCVSS 9.8 EPSS 2.0%The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which would return true in their traditional IPv4 forms.
-
MediumCVSS 5.9 EPSS 0.99%
A malformed DNS message in response to a query can cause the Lookup functions to get stuck in an infinite loop.
-
HighCVSS 7.5 EPSS 89.5%
An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames. Maintaining HPACK state requires parsing and processing all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed Ma...
-
HighCVSS 7.5 EPSS 1.1%
The ParseAddressList function incorrectly handles comments (text within parentheses) within display names. Since this is a misalignment with conforming address parsers, it can result in different trust decisions being made by programs using different parsers.
-
CVE-2023-45289 Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http
PublishedMediumCVSS 4.3 EPSS 1.1%When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as "Authorization" or "Cookie". For example, a redirect from foo.com to www.foo.com will forward the Authorizati...
-
MediumCVSS 6.5 EPSS 1.2%
When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line...
-
MediumCVSS 5.3 EPSS 1.2%
A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body. A malicious HTTP client can further exploit this to cause a server to automatically read a large amount of d...
-
HighCVSS 7.5 EPSS 3.8%
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 attack...
-
MediumCVSS 6.5 EPSS 1.5%
The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value.
-
HighCVSS 7.5 EPSS 1.9%
HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service. Certain unusual patterns of input data can cause the common function used to parse HTTP and MIME headers to allocate substantially more m...
-
CVE-2023-24536 Excessive resource consumption in net/http, net/textproto and mime/multipart
PublishedHighCVSS 7.5 EPSS 1.5%Multipart form parsing can consume large amounts of CPU and memory when processing form inputs containing very large numbers of parts. This stems from several causes: 1. mime/multipart.Reader.ReadForm limits the total memory a parsed multipart form can consume. ReadForm can under...
-
CVE-2022-41723 Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net
PublishedHighCVSS 7.5 EPSS 4.6%A maliciously crafted HTTP/2 stream could cause excessive CPU consumption in the HPACK decoder, sufficient to cause a denial of service from a small number of small requests.
-
MediumCVSS 5.3 EPSS 6.2%
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 s...
-
HighCVSS 7.5 EPSS 1.3%
On Windows, restricted files can be accessed via os.DirFS and http.Dir. The os.DirFS function and http.Dir type provide access to a tree of files rooted at a given directory. These functions permit access to Windows device files under that root. For example, os.DirFS("C:/tmp").Op...
-
HighCVSS 7.5 EPSS 1.4%
Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparsable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparsable value. After fix, ReverseProxy s...
-
HighCVSS 7.5 EPSS 2.3%
JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result.
-
MediumCVSS 6.5 EPSS 1.5%
Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1.18.4 can be triggered by calling httputil.ReverseProxy.ServeHTTP with a Request.Header map containing a nil value for the X-Forwarded-For header, which causes ReverseProxy to set the client IP as the...
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.