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...
Vendor
stdlib vulnerabilities
182 published CVES affecting stdlib, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 182
- Critical
- 9
- High
- 104
- Medium
- 64
- Low
- 3
- Unscored
- 2
- CISA KEV
- 1
Products
Latest stdlib CVEs
Newest publication first · page 4 of 8
-
MediumCVSS 6.1 EPSS 0.71%
-
MediumCVSS 6.1 EPSS 0.56%
A certificate with a URI which has a IPv6 address with a zone ID may incorrectly satisfy a URI name constraint that applies to the certificate chain. Certificates containing URIs are not permitted in the web PKI, so this only affects users of private PKIs which make use of URIs.
-
HighCVSS 7.5 EPSS 1.0%
Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
-
HighCVSS 7.5 EPSS 1.1%
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
-
MediumCVSS 4.3 EPSS 0.84%
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.
-
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...
-
MediumCVSS 5.5 EPSS 0.44%
The archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment could be exploited to create an zip file with contents that vary depending on the implementation reading the file. The archive/zip pac...
-
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...
-
CVE-2024-24785 Errors returned from JSON marshaling may break template escaping in html/template
PublishedMediumCVSS 5.4 EPSS 0.80%If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.
-
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...
-
CVE-2024-24783 Verify panics on certificates with an unknown public key algorithm in crypto/x509
PublishedMediumCVSS 5.9 EPSS 0.67%Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic. This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The defaul...
-
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 1.3%
Before Go 1.20, the RSA based TLS key exchanges used the math/big library, which is not constant time. RSA blinding was applied to prevent timing attacks, but analysis shows this may not have been fully effective. In particular it appears as if the removal of PKCS#1 padding may l...
-
MediumCVSS 5.3 EPSS 1.1%
On Windows, The IsLocal function does not correctly detect reserved device names in some cases. Reserved names followed by spaces, such as "COM1 ", and reserved names "COM" and "LPT" followed by superscript 1, 2, or 3, are incorrectly reported as local. With fix, IsLocal now corr...
-
HighCVSS 7.5 EPSS 3.3%
The filepath package does not recognize paths with a ??\ prefix as special. On Windows, a path beginning with ??\ is a Root Local Device path equivalent to a path beginning with \?. Paths with a ??\ prefix may be used to access arbitrary locations on the system. For example, the...
-
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...
-
HighCVSS 7.5 EPSS 1.3%
QUIC connections do not set an upper bound on the amount of data buffered when reading post-handshake messages, allowing a malicious QUIC connection to cause unbounded memory growth. With fix, connections now consistently reject messages larger than 65KiB in size.
-
CVE-2023-39321 Panic when processing post-handshake message on QUIC connections in crypto/tls
PublishedHighCVSS 7.5 EPSS 1.3%Processing an incomplete post-handshake message for a QUIC connection can cause a panic.
-
MediumCVSS 6.1 EPSS 0.91%
The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be...
-
CVE-2023-39318 Improper handling of HTML-like comments in script contexts in html/template
PublishedMediumCVSS 6.1 EPSS 0.93%The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may...
-
MediumCVSS 5.3 EPSS 1.6%
Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. With fix, the size of RSA keys transmitted during handshakes is restricted to <= 8192 bits. Based on a survey of publicly trusted RSA keys, there are curr...
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.