Approved changes feed: RSS · Atom

cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorGolang (670356c5-bd1b-5c66-9eee-f755f5cec4c7)
ProductGo (96a6ef33-04c7-5363-bbc8-7d2a06bf0b4b)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/golang/go purl2cpe 2026-06-01 10:12:04.369554
pkg:golang/go/go purl2cpe 2026-06-01 10:12:04.369557
pkg:googlesource/go purl2cpe 2026-06-01 10:12:04.369558

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-42501 vulnerable 2026-06-03 15:25:01.207932 Malicious module proxy can bypass checksum database in cmd/go
A malicious module proxy can exploit a flaw in the go command's validation of module checksums to bypass checksum database validation. This vulnerability affects any user using an untrusted module proxy (GOMODPROXY) or checksum database (GOSUMDB). A malicious module proxy can serve altered versions of the Go toolchain. When selecting a different version of the Go toolchain than the currently installed toolchain (due to the GOTOOLCHAIN environment variable, or a go.work or go.mod with a toolchain line), the go command will download and execute a toolchain provided by the module proxy. A malicious module proxy can bypass checksum database validation for this downloaded toolchain. Since this vulnerability affects the security of toolchain downloads, setting GOTOOLCHAIN to a fixed version is not sufficient. You must upgrade your base Go toolchain. The go tool always validates the hash of a toolchain before executing it, so fixed versions will refuse to execute any cached, altered versions of the toolchain. The go tool trusts go.sum files to contain accurate hashes of the current module's dependencies. A malicious proxy exploiting this vulnerability to serve an altered module will have caused an incorrect hash to be recorded in the go.sum. Users who have configured a non-trusted GOPROXY can determine if they have been affected by running "rm go.sum ; go mod tidy ; go mod verify", which will revalidate all dependencies of the current module. The specific flaw in more detail: The go command consults the checksum database to validate downloaded modules, when a module is not listed in the go.sum file. It verifies that the module hash reported by the checksum database matches the hash of the downloaded module. If, however, the checksum database returns a successful response that contains no entry for the module, the go command incorrectly permitted validation to succeed. A module proxy may mirror or proxy the checksum database, in which case the go command will not connect to the checksum database directly. Checksums reported by the checksum database are cryptographically signed, so a malicious proxy cannot alter the reported checksum for a module. However, a proxy which returns an empty checksum response, or a checksum response for an unrelated module, could cause the go command to proceed as if a downloaded module has been validated.
Published: 2026-05-07T19:41:19.691Z
Updated: 2026-05-08T15:48:47.404Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-42499 vulnerable 2026-06-03 15:25:01.204395 Quadratic string concatenation in consumePhrase in net/mail
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.
Published: 2026-05-07T19:41:18.615Z
Updated: 2026-05-08T21:29:59.662Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-39836 vulnerable 2026-06-03 15:22:13.159596 Panic in Dial and LookupPort when handling NUL byte on Windows in net
The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL (0).
Published: 2026-05-07T19:41:18.300Z
Updated: 2026-05-08T21:30:15.127Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-39826 vulnerable 2026-06-03 15:22:13.151820 Escaper bypass leads to XSS in html/template
If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.
Published: 2026-05-07T19:41:19.138Z
Updated: 2026-05-08T14:05:05.849Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-39825 vulnerable 2026-06-03 15:22:13.151244 ReverseProxy forwards queries with more than urlmaxqueryparams parameters in net/http/httputil
ReverseProxy can forward queries containing parameters not visible to Rewrite functions. When used with a Rewrite function, or a Director function which parses query parameters, ReverseProxy sanitizes the forwarded request to remove query parameters which are not parsed by url.ParseQuery. ReverseProxy does not take ParseQuery's limit on the total number of query parameters (controlled by GODEBUG=urlmaxqueryparams=N) into account. This can permit ReverseProxy to forward a request containing a query parameter that is not visible to the Rewrite function. For example, the query "a1=x&a2=x&...&a10000=x&hidden=y" can forward the parameter "hidden=y" while hiding it from the proxy's Rewrite function.
Published: 2026-05-07T19:41:18.453Z
Updated: 2026-05-08T21:30:08.872Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-39823 vulnerable 2026-06-03 15:22:13.142807 Bypass of meta content URL escaping causes XSS in html/template
CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the <content> attribute, the escaper would fail to similarly escape it, leading to XSS.
Published: 2026-05-07T19:41:19.524Z
Updated: 2026-05-08T14:05:55.152Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-39820 vulnerable 2026-06-03 15:22:13.138958 Quadratic string concatentation in consumeComment in net/mail
Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.
Published: 2026-05-07T19:41:19.854Z
Updated: 2026-05-08T14:27:54.923Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-39819 vulnerable 2026-06-03 15:22:13.137149 Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go
The "go bug" command writes to two files with predictable names in the system temporary directory (for example, "/tmp"). An attacker with access to the temporary directory can create a symlink in one of these names, causing "go bug" to overwrite the target of the symlink.
Published: 2026-05-07T19:41:18.849Z
Updated: 2026-05-08T21:29:53.674Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-39817 vulnerable 2026-06-03 15:22:13.136645 Invoking "go tool pack" does not sanitize output paths in cmd/go
The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary locations on the filesystem.
Published: 2026-05-07T19:41:18.993Z
Updated: 2026-05-08T21:29:47.246Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-33814 vulnerable 2026-06-03 15:20:45.762269 Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net
When processing HTTP/2 SETTINGS frames, transport will enter an infinite loop of writing CONTINUATION frames if it receives a SETTINGS_MAX_FRAME_SIZE with a value of 0.
Published: 2026-05-07T19:41:17.631Z
Updated: 2026-05-08T18:01:02.989Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-33811 vulnerable 2026-06-03 15:20:45.754014 Crash when handling long CNAME response in net
When using LookupCNAME with the cgo DNS resolver, a very long CNAME response can trigger a double-free of C memory and a crash.
Published: 2026-05-07T19:41:19.285Z
Updated: 2026-05-08T14:25:43.896Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-33810 vulnerable 2026-06-03 15:20:45.752359 Case-sensitive excludedSubtrees name constraints cause Auth Bypass in crypto/x509
When verifying a certificate chain containing excluded DNS constraints, these constraints are not correctly applied to wildcard DNS SANs which use a different case than the constraint. This only affects validation of otherwise trusted certificate chains, issued by a root CA in the VerifyOptions.Roots CertPool, or in the system certificate pool.
Published: 2026-04-08T01:06:56.546Z
Updated: 2026-04-20T17:23:21.823Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-32289 vulnerable 2026-06-03 15:20:42.705359 JsBraceDepth Context Tracking Bugs (XSS) in html/template
Context was not properly tracked across template branches for JS template literals, leading to possibly incorrect escaping of content when branches were used. Additionally template actions within JS template literals did not properly track the brace depth, leading to incorrect escaping being applied. These issues could cause actions within JS template literals to be incorrectly or improperly escaped, leading to XSS vulnerabilities.
Published: 2026-04-08T01:06:56.297Z
Updated: 2026-04-13T18:20:46.377Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-32288 vulnerable 2026-06-03 15:20:42.703708 Unbounded allocation for old GNU sparse in archive/tar
tar.Reader can allocate an unbounded amount of memory when reading a maliciously-crafted archive containing a large number of sparse regions encoded in the "old GNU sparse map" format.
Published: 2026-04-08T01:06:57.416Z
Updated: 2026-04-13T18:20:08.191Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-32283 vulnerable 2026-06-03 15:20:42.682573 Unauthenticated TLS 1.3 KeyUpdate record can cause persistent connection retention and DoS in crypto/tls
If one side of the TLS connection sends multiple key update messages post-handshake in a single record, the connection can deadlock, causing uncontrolled consumption of resources. This can lead to a denial of service. This only affects TLS 1.3.
Published: 2026-04-08T01:06:57.670Z
Updated: 2026-04-13T18:19:55.848Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-32282 vulnerable 2026-06-03 15:20:42.679915 TOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unix
On Linux, if the target of Root.Chmod is replaced with a symlink while the chmod operation is in progress, Chmod can operate on the target of the symlink, even when the target lies outside the root. The Linux fchmodat syscall silently ignores the AT_SYMLINK_NOFOLLOW flag, which Root.Chmod uses to avoid symlink traversal. Root.Chmod checks its target before acting and returns an error if the target is a symlink lying outside the root, so the impact is limited to cases where the target is replaced with a symlink between the check and operation.
Published: 2026-04-08T01:06:55.953Z
Updated: 2026-04-13T18:20:56.456Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-32281 vulnerable 2026-06-03 15:20:42.676692 Inefficient policy validation in crypto/x509
Validating certificate chains which use policies is unexpectedly inefficient when certificates in the chain contain a very large number of policy mappings, possibly causing denial of service. This only affects validation of otherwise trusted certificate chains, issued by a root CA in the VerifyOptions.Roots CertPool, or in the system certificate pool.
Published: 2026-04-08T01:06:58.354Z
Updated: 2026-04-13T18:19:44.779Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-32280 vulnerable 2026-06-03 15:20:42.676199 Unexpected work during chain building in crypto/x509
During chain building, the amount of work that is done is not correctly limited when a large number of intermediate certificates are passed in VerifyOptions.Intermediates, which can lead to a denial of service. This affects both direct users of crypto/x509 and users of crypto/tls.
Published: 2026-04-08T01:06:58.595Z
Updated: 2026-04-08T17:46:47.347Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-27144 vulnerable 2026-06-03 15:18:06.085041 Miscompilation allows memory corruption via CONVNOP-wrapped array copy in cmd/compile
The compiler is meant to unwrap pointers which are the operands of a memory move; a no-op interface conversion prevented the compiler from making the correct determination about non-overlapping moves, potentially leading to memory corruption at runtime.
Published: 2026-04-08T01:06:56.908Z
Updated: 2026-04-13T18:20:28.098Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-27143 vulnerable 2026-06-03 15:18:06.084677 Missing bound checks can lead to memory corruption in safe Go in cmd/compile
Arithmetic over induction variables in loops were not correctly checked for underflow or overflow. As a result, the compiler would allow for invalid indexing to occur at runtime, potentially leading to memory corruption.
Published: 2026-04-08T01:06:57.168Z
Updated: 2026-04-13T18:20:17.933Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-27142 vulnerable 2026-06-03 15:18:06.080998 URLs in meta content attribute actions are not escaped in html/template
Actions which insert URLs into the content attribute of HTML meta tags are not escaped. This can allow XSS if the meta tag also has an http-equiv attribute with the value "refresh". A new GODEBUG setting has been added, htmlmetacontenturlescape, which can be used to disable escaping URLs in actions in the meta content attribute which follow "url=" by setting htmlmetacontenturlescape=0.
Published: 2026-03-06T21:28:14.674Z
Updated: 2026-03-16T15:21:14.465Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-27140 vulnerable 2026-06-03 15:18:06.077295 Code execution vulnerability in SWIG code generation in cmd/go
SWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary code execution at build time due to trust layer bypass.
Published: 2026-04-08T01:06:57.893Z
Updated: 2026-04-13T13:22:34.117Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-27139 vulnerable 2026-06-03 15:18:06.075303 FileInfo can escape from a Root in os
On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary locations on the filesystem without permitting reading or writing files outside the root.
Published: 2026-03-06T21:28:14.451Z
Updated: 2026-03-09T14:53:58.363Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-25679 vulnerable 2026-06-03 15:18:03.838438 Incorrect parsing of IPv6 host literals in net/url
url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.
Published: 2026-03-06T21:28:14.211Z
Updated: 2026-03-10T13:37:02.459Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-68121 vulnerable 2026-06-03 15:11:02.874689 Unexpected session resumption in crypto/tls
During session resumption in crypto/tls, if the underlying Config has its ClientCAs or RootCAs fields mutated between the initial handshake and the resumed handshake, the resumed handshake may succeed when it should have failed. This may happen when a user calls Config.Clone and mutates the returned Config, or uses Config.GetConfigForClient. This can cause a client to resume a session with a server that it would not have resumed with during the initial handshake, or cause a server to resume a session with a client that it would not have resumed with during the initial handshake.
Published: 2026-02-05T17:48:44.141Z
Updated: 2026-04-29T13:29:25.582Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-68119 vulnerable 2026-06-03 15:11:02.868932 Unexpected code execution when invoking toolchain in cmd/go
Downloading and building modules with malicious version strings can cause local code execution. On systems with Mercurial (hg) installed, downloading modules from non-standard sources (e.g., custom domains) can cause unexpected code execution due to how external VCS commands are constructed. This issue can also be triggered by providing a malicious version string to the toolchain. On systems with Git installed, downloading and building modules with malicious version strings can allow an attacker to write to arbitrary files on the filesystem. This can only be triggered by explicitly providing the malicious version strings to the toolchain and does not affect usage of @latest or bare module paths.
Published: 2026-01-28T19:30:30.704Z
Updated: 2026-02-26T15:04:45.665Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-61732 vulnerable 2026-06-03 15:07:57.053250 Potential code smuggling via doc comments in cmd/cgo
A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
Published: 2026-02-05T03:42:26.392Z
Updated: 2026-02-05T14:57:44.851Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-61731 vulnerable 2026-06-03 15:07:57.051686 Arbitrary file write using cgo pkg-config directive in cmd/go
Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a "--log-file" argument to this directive, causing pkg-config to write to an attacker-controlled location.
Published: 2026-01-28T19:30:30.844Z
Updated: 2026-02-26T15:04:45.375Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-61730 vulnerable 2026-06-03 15:07:57.050273 Handshake messages may be processed at the incorrect encryption level in crypto/tls
During the TLS 1.3 handshake if multiple messages are sent in records that span encryption level boundaries (for instance the Client Hello and Encrypted Extensions messages), the subsequent messages may be processed before the encryption level changes. This can cause some minor information disclosure if a network-local attacker can inject messages during the handshake.
Published: 2026-01-28T19:30:30.986Z
Updated: 2026-02-02T17:28:49.572Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-61729 vulnerable 2026-06-03 15:07:57.048024 Excessive resource consumption when printing error string for host certificate validation in crypto/x509
Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, the error string is constructed by repeated string concatenation, leading to quadratic runtime. Therefore, a certificate provided by a malicious actor can result in excessive resource consumption.
Published: 2025-12-02T18:54:10.166Z
Updated: 2025-12-03T19:37:14.903Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-61728 vulnerable 2026-06-03 15:07:57.047675 Excessive CPU consumption when building archive index in archive/zip
archive/zip uses a super-linear file name indexing algorithm that is invoked the first time a file in an archive is opened. This can lead to a denial of service when consuming a maliciously constructed ZIP archive.
Published: 2026-01-28T19:30:31.354Z
Updated: 2026-01-29T18:30:24.487Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-61727 vulnerable 2026-06-03 15:07:57.046362 Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509
An excluded subdomain constraint in a certificate chain does not restrict the usage of wildcard SANs in the leaf certificate. For example a constraint that excludes the subdomain test.example.com does not prevent a leaf certificate from claiming the SAN *.example.com.
Published: 2025-12-03T19:37:15.054Z
Updated: 2025-12-03T22:06:17.007Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-61726 vulnerable 2026-06-03 15:07:57.045143 Memory exhaustion in query parameter parsing in net/url
The net/url package does not set a limit on the number of query parameters in a query. While the maximum size of query parameters in URLs is generally limited by the maximum request header size, the net/http.Request.ParseForm method can parse large URL-encoded forms. Parsing a large form containing many unique query parameters can cause excessive memory consumption.
Published: 2026-01-28T19:30:31.215Z
Updated: 2026-01-29T18:31:59.685Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-61724 vulnerable 2026-06-03 15:07:57.041926 Excessive CPU consumption in Reader.ReadResponse in net/textproto
The Reader.ReadResponse function constructs a response string through repeated string concatenation of lines. When the number of lines in a response is large, this can cause excessive CPU consumption.
Published: 2025-10-29T22:10:14.609Z
Updated: 2025-11-04T21:14:03.930Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-61723 vulnerable 2026-06-03 15:07:57.040589 Quadratic complexity when parsing some invalid inputs in encoding/pem
The processing time for parsing some invalid inputs scales non-linearly with respect to the size of the input. This affects programs which parse untrusted PEM inputs.
Published: 2025-10-29T22:10:13.220Z
Updated: 2025-11-04T21:14:02.531Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-58189 vulnerable 2026-06-03 15:06:20.869972 ALPN negotiation error contains attacker controlled information in crypto/tls
When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.
Published: 2025-10-29T22:10:12.947Z
Updated: 2025-11-04T21:13:39.428Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-58188 vulnerable 2026-06-03 15:06:20.867538 Panic when validating certificates with DSA public keys in crypto/x509
Validating certificate chains which contain DSA public keys can cause programs to panic, due to a interface cast that assumes they implement the Equal method. This affects programs which validate arbitrary certificate chains.
Published: 2025-10-29T22:10:14.143Z
Updated: 2025-11-04T21:13:38.109Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-58187 vulnerable 2026-06-03 15:06:20.867030 Quadratic complexity when checking name constraints in crypto/x509
Due to the design of the name constraint checking algorithm, the processing time of some inputs scale non-linearly with respect to the size of the certificate. This affects programs which validate arbitrary certificate chains.
Published: 2025-10-29T22:10:12.624Z
Updated: 2025-11-20T22:23:47.179Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-58185 vulnerable 2026-06-03 15:06:20.859149 Parsing DER payload can cause memory exhaustion in encoding/asn1
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
Published: 2025-10-29T22:10:13.682Z
Updated: 2025-11-04T21:13:34.163Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-4674 vulnerable 2026-06-03 15:01:48.540182 Unexpected command execution in untrusted VCS repositories in cmd/go
The go command may execute unexpected commands when operating in untrusted VCS repositories. This occurs when possibly dangerous VCS configuration is present in repositories. This can happen when a repository was fetched via one VCS (e.g. Git), but contains metadata for another VCS (e.g. Mercurial). Modules which are retrieved using the go command line, i.e. via "go get", are not affected.
Published: 2025-07-29T21:19:08.519Z
Updated: 2025-11-04T21:10:50.871Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-47912 vulnerable 2026-06-03 15:01:33.612450 Insufficient validation of bracketed IPv6 hostnames in net/url
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 addresses and hostnames must not appear within square brackets. Parse did not enforce this requirement.
Published: 2025-10-29T22:10:13.435Z
Updated: 2025-11-04T21:10:57.384Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-47907 vulnerable 2026-06-03 15:01:33.602348 Incorrect results returned from Rows.Scan in database/sql
Cancelling a query (e.g. by cancelling the context passed to one of the query methods) during a call to the Scan method of the returned Rows can result in unexpected results if other queries are being made in parallel. This can result in a race condition that may overwrite the expected results with those of another query, causing the call to Scan to return either unexpected results from the other query or an error.
Published: 2025-08-07T15:25:30.704Z
Updated: 2025-11-04T21:10:56.083Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-47906 vulnerable 2026-06-03 15:01:33.599454 Unexpected paths returned from LookPath in os/exec
If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", and ".."), can result in the binaries listed in the PATH being unexpectedly returned.
Published: 2025-09-18T18:41:11.847Z
Updated: 2025-11-04T21:10:54.782Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-22873 vulnerable 2026-06-03 14:59:41.688470 Improper access to parent directory of root in os
It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For example, Root.Open("../") would open the parent directory of the Root. This escape only permits opening the parent directory itself, not ancestors of the parent or files contained within the parent.
Published: 2026-02-04T23:05:24.803Z
Updated: 2026-02-05T15:03:55.451Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-0913 vulnerable 2026-06-03 14:58:33.214702 Inconsistent handling of O_CREATE|O_EXCL on Unix and Windows in os in syscall
os.OpenFile(path, os.O_CREATE|O_EXCL) behaved differently on Unix and Windows systems when the target path was a dangling symlink. On Unix systems, OpenFile with O_CREATE and O_EXCL flags never follows symlinks. On Windows, when the target path was a symlink to a nonexistent location, OpenFile would create a file in that location. OpenFile now always returns an error when the O_CREATE and O_EXCL flags are both set and the target path is a symlink.
Published: 2025-06-11T17:17:25.606Z
Updated: 2025-06-11T17:37:52.111Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-24790 vulnerable 2026-06-03 14:55:05.775073 Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
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.
Published: 2024-06-05T15:13:50.527Z
Updated: 2025-02-13T17:40:28.639Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-24789 vulnerable 2026-06-03 14:55:05.772909 Mishandling of corrupt central directory record in archive/zip
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 package now rejects files containing these errors.
Published: 2024-06-05T15:13:51.938Z
Updated: 2025-02-13T17:40:27.816Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-24786 vulnerable 2026-06-03 14:55:05.765721 Infinite loop in JSON unmarshaling in google.golang.org/protobuf
The protojson.Unmarshal function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a google.protobuf.Any value, or when the UnmarshalOptions.DiscardUnknown option is set.
Published: 2024-03-05T22:22:35.299Z
Updated: 2025-02-13T17:40:25.868Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-46324 not_vulnerable 2026-06-03 14:53:09.620530 Details available
pkg/suci/suci.go in free5GC udm before 1.2.0, when Go before 1.19 is used, allows an Invalid Curve Attack because it may compute a shared secret via an uncompressed public key that has not been validated. An attacker can send arbitrary SUCIs to the UDM, which tries to decrypt them via both its private key and the attacker's public key.
Published: 2023-10-23T00:00:00.000Z
Updated: 2024-08-02T20:45:40.833Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-45287 vulnerable 2026-06-03 14:53:07.909463 Before Go 1.20, the RSA based key exchange methods in crypto/tls may exhibit a timing side channel
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 leak timing information, which in turn could be used to recover session key bits. In Go 1.20, the crypto/tls library switched to a fully constant time RSA implementation, which we do not believe exhibits any timing side channels.
Published: 2023-12-05T16:18:06.104Z
Updated: 2025-02-13T17:14:00.588Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-45285 vulnerable 2026-06-03 14:53:07.903993 Command 'go get' may unexpectedly fallback to insecure git in cmd/go
Using go get to fetch a module with the ".git" suffix may unexpectedly fallback to the insecure "git://" protocol if the module is unavailable via the secure "https://" and "git+ssh://" protocols, even if GOINSECURE is not set for said module. This only affects users who are not using the module proxy and are fetching modules directly (i.e. GOPROXY=off).
Published: 2023-12-06T16:27:55.521Z
Updated: 2025-02-13T17:14:00.033Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-45284 vulnerable 2026-06-03 14:53:07.902077 Incorrect detection of reserved device names on Windows in path/filepath
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 correctly reports these names as non-local.
Published: 2023-11-09T16:30:15.250Z
Updated: 2024-09-03T19:00:47.531Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-45283 vulnerable 2026-06-03 14:53:07.901557 Insecure parsing of Windows paths with a \??\ prefix in path/filepath
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 path \??\c:\x is equivalent to the more common path c:\x. Before fix, Clean could convert a rooted path such as \a\..\??\b into the root local device path \??\b. Clean will now convert this to .\??\b. Similarly, Join(\, ??, b) could convert a seemingly innocent sequence of path elements into the root local device path \??\b. Join will now convert this to \.\??\b. In addition, with fix, IsAbs now correctly reports paths beginning with \??\ as absolute, and VolumeName correctly reports the \??\ prefix as a volume name. UPDATE: Go 1.20.11 and Go 1.21.4 inadvertently changed the definition of the volume name in Windows paths starting with \?, resulting in filepath.Clean(\?\c:) returning \?\c: rather than \?\c:\ (among other effects). The previous behavior has been restored.
Published: 2023-11-09T16:30:12.395Z
Updated: 2025-02-13T17:13:59.471Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-44487 vulnerable 2026-06-03 14:53:06.853421 Details available
The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023.
Published: 2023-10-10T00:00:00.000Z
Updated: 2026-05-12T10:52:23.784Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39326 vulnerable 2026-06-03 14:52:38.687983 Denial of service via chunk extensions in net/http
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 data (up to about 1GiB) when a handler fails to read the entire body of a request. Chunk extensions are a little-used HTTP feature which permit including additional metadata in a request or response body sent using the chunked encoding. The net/http chunked encoding reader discards this metadata. A sender can exploit this by inserting a large metadata segment with each byte transferred. The chunk reader now produces an error if the ratio of real body to encoded bytes grows too small.
Published: 2023-12-06T16:27:53.832Z
Updated: 2025-02-13T17:02:50.990Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39325 vulnerable 2026-06-03 14:52:38.683435 HTTP/2 rapid reset can cause excessive work in net/http
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.
Published: 2023-10-11T21:15:02.727Z
Updated: 2025-02-13T17:02:50.341Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39323 vulnerable 2026-06-03 14:52:38.678536 Arbitrary code execution during build via line directives in cmd/go
Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in which the directive lives, which makes exploiting this issue significantly more complex.
Published: 2023-10-05T20:36:58.756Z
Updated: 2025-06-12T15:15:12.065Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39322 vulnerable 2026-06-03 14:52:38.677940 Memory exhaustion in QUIC connection handling in crypto/tls
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.
Published: 2023-09-08T16:13:32.795Z
Updated: 2025-02-13T17:02:49.143Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39321 vulnerable 2026-06-03 14:52:38.675203 Panic when processing post-handshake message on QUIC connections in crypto/tls
Processing an incomplete post-handshake message for a QUIC connection can cause a panic.
Published: 2023-09-08T16:13:30.386Z
Updated: 2025-02-13T17:02:48.554Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39320 vulnerable 2026-06-03 14:52:38.673796 Arbitrary code execution via go.mod toolchain directive in cmd/go
The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the "go" command was executed within the module. This applies to modules downloaded using the "go" command from the module proxy, as well as modules downloaded directly using VCS software.
Published: 2023-09-08T16:13:26.609Z
Updated: 2025-02-13T17:02:48.022Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39319 vulnerable 2026-06-03 14:52:38.672231 Improper handling of special tags within script contexts in html/template
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 improperly escaped. This could be leveraged to perform an XSS attack.
Published: 2023-09-08T16:13:28.663Z
Updated: 2025-02-13T17:02:47.366Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-39318 vulnerable 2026-06-03 14:52:38.671705 Improper handling of HTML-like comments in script contexts in html/template
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 be leveraged to perform an XSS attack.
Published: 2023-09-08T16:13:24.063Z
Updated: 2025-02-13T17:02:46.777Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-29409 vulnerable 2026-06-03 14:51:40.888491 Large RSA keys can cause high CPU usage in crypto/tls
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 currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed. It is possible there are larger keys in use in private PKIs, but we target the web PKI, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable.
Published: 2023-08-02T19:47:23.829Z
Updated: 2025-02-13T16:49:16.368Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-29406 vulnerable 2026-06-03 14:51:40.883884 Insufficient sanitization of Host header in net/http
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.
Published: 2023-07-11T19:23:58.511Z
Updated: 2025-02-13T16:49:14.579Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-29405 vulnerable 2026-06-03 14:51:40.882267 Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go
The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.
Published: 2023-06-08T20:19:19.267Z
Updated: 2025-01-06T19:44:24.568Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-29404 vulnerable 2026-06-03 14:51:40.880276 Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go
The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.
Published: 2023-06-08T20:19:17.548Z
Updated: 2025-01-06T19:47:57.434Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-29403 vulnerable 2026-06-03 14:51:40.879731 Unsafe behavior in setuid/setgid binaries in runtime
On Unix platforms, the Go runtime does not behave differently when a binary is run with the setuid/setgid bits. This can be dangerous in certain cases, such as when dumping memory state, or assuming the status of standard i/o file descriptors. If a setuid/setgid binary is executed with standard I/O file descriptors closed, opening any files can result in unexpected content being read or written with elevated privileges. Similarly, if a setuid/setgid program is terminated, either via panic or signal, it may leak the contents of its registers.
Published: 2023-06-08T20:19:13.222Z
Updated: 2025-02-13T16:49:14.029Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-29402 vulnerable 2026-06-03 14:51:40.875894 Code injection via go command with cgo in cmd/go
The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via "go get", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).
Published: 2023-06-08T20:19:04.483Z
Updated: 2025-02-13T16:49:13.450Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-29400 vulnerable 2026-06-03 14:51:40.872349 Improper handling of empty HTML attributes in html/template
Templates containing actions in unquoted HTML attributes (e.g. "attr={{.}}") executed with empty input can result in output with unexpected results when parsed due to HTML normalization rules. This may allow injection of arbitrary attributes into tags.
Published: 2023-05-11T15:29:24.874Z
Updated: 2025-01-24T16:47:46.724Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24540 vulnerable 2026-06-03 14:49:30.094798 Improper handling of JavaScript whitespace in html/template
Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.
Published: 2023-05-11T15:29:31.947Z
Updated: 2025-01-24T16:45:07.999Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24539 vulnerable 2026-06-03 14:49:30.094474 Improper sanitization of CSS values in html/template
Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character can result in unexpectedly closing the CSS context and allowing for injection of unexpected HTML, if executed with untrusted input.
Published: 2023-05-11T15:29:38.143Z
Updated: 2025-01-24T16:41:28.222Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24538 vulnerable 2026-06-03 14:49:30.094005 Backticks not treated as string delimiters in html/template
Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since ES6, for JS template literals. If a template contains a Go template action within a Javascript template literal, the contents of the action can be used to terminate the literal, injecting arbitrary Javascript code into the Go template. As ES6 template literals are rather complex, and themselves can do string interpolation, the decision was made to simply disallow Go template actions from being used inside of them (e.g. "var a = {{.}}"), since there is no obviously safe way to allow this behavior. This takes the same approach as github.com/google/safehtml. With fix, Template.Parse returns an Error when it encounters templates like this, with an ErrorCode of value 12. This ErrorCode is currently unexported, but will be exported in the release of Go 1.21. Users who rely on the previous behavior can re-enable it using the GODEBUG flag jstmpllitinterp=1, with the caveat that backticks will now be escaped. This should be used with caution.
Published: 2023-04-06T15:50:48.185Z
Updated: 2025-02-13T16:44:19.259Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24537 vulnerable 2026-06-03 14:49:30.092128 Infinite loop in parsing in go/scanner
Calling any of the Parse functions on Go source code which contains //line directives with very large line numbers can cause an infinite loop due to integer overflow.
Published: 2023-04-06T15:50:49.556Z
Updated: 2025-02-13T16:44:18.701Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24536 vulnerable 2026-06-03 14:49:30.090169 Excessive resource consumption in net/http, net/textproto and mime/multipart
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 undercount the amount of memory consumed, leading it to accept larger inputs than intended. 2. Limiting total memory does not account for increased pressure on the garbage collector from large numbers of small allocations in forms with many parts. 3. ReadForm can allocate a large number of short-lived buffers, further increasing pressure on the garbage collector. The combination of these factors can permit an attacker to cause an program that parses multipart forms to consume large amounts of CPU and memory, potentially resulting in a denial of service. This affects programs that use mime/multipart.Reader.ReadForm, as well as form parsing in the net/http package with the Request methods FormFile, FormValue, ParseMultipartForm, and PostFormValue. With fix, ReadForm now does a better job of estimating the memory consumption of parsed forms, and performs many fewer short-lived allocations. In addition, the fixed mime/multipart.Reader imposes the following limits on the size of parsed forms: 1. Forms parsed with ReadForm may contain no more than 1000 parts. This limit may be adjusted with the environment variable GODEBUG=multipartmaxparts=. 2. Form parts parsed with NextPart and NextRawPart may contain no more than 10,000 header fields. In addition, forms parsed with ReadForm may contain no more than 10,000 header fields across all parts. This limit may be adjusted with the environment variable GODEBUG=multipartmaxheaders=.
Published: 2023-04-06T15:50:24.879Z
Updated: 2025-02-13T16:44:18.172Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24534 vulnerable 2026-06-03 14:49:30.085068 Excessive memory allocation in net/http and net/textproto
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 memory than required to hold the parsed headers. An attacker can exploit this behavior to cause an HTTP server to allocate large amounts of memory from a small request, potentially leading to memory exhaustion and a denial of service. With fix, header parsing now correctly allocates only the memory required to hold parsed headers.
Published: 2023-04-06T15:50:45.710Z
Updated: 2025-02-13T16:44:17.255Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-24532 vulnerable 2026-06-03 14:49:30.080539 Incorrect calculation on P256 curves in crypto/internal/nistec
The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars (a scalar larger than the order of the curve). This does not impact usages of crypto/ecdsa or crypto/ecdh.
Published: 2023-03-08T19:40:45.425Z
Updated: 2024-08-02T10:56:04.340Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-41725 vulnerable 2026-06-03 14:48:05.906982 Excessive resource consumption in mime/multipart
A denial of service is possible from excessive resource consumption in net/http and mime/multipart. Multipart form parsing with mime/multipart.Reader.ReadForm can consume largely unlimited amounts of memory and disk files. This also affects form parsing in the net/http package with the Request methods FormFile, FormValue, ParseMultipartForm, and PostFormValue. ReadForm takes a maxMemory parameter, and is documented as storing "up to maxMemory bytes +10MB (reserved for non-file parts) in memory". File parts which cannot be stored in memory are stored on disk in temporary files. The unconfigurable 10MB reserved for non-file parts is excessively large and can potentially open a denial of service vector on its own. However, ReadForm did not properly account for all memory consumed by a parsed form, such as map entry overhead, part names, and MIME headers, permitting a maliciously crafted form to consume well over 10MB. In addition, ReadForm contained no limit on the number of disk files created, permitting a relatively small request body to create a large number of disk temporary files. With fix, ReadForm now properly accounts for various forms of memory overhead, and should now stay within its documented limit of 10MB + maxMemory bytes of memory consumption. Users should still be aware that this limit is high and may still be hazardous. In addition, ReadForm now creates at most one on-disk temporary file, combining multiple form parts into a single temporary file. The mime/multipart.File interface type's documentation states, "If stored on disk, the File's underlying concrete type will be an *os.File.". This is no longer the case when a form contains more than one file part, due to this coalescing of parts into a single file. The previous behavior of using distinct files for each form part may be reenabled with the environment variable GODEBUG=multipartfiles=distinct. Users should be aware that multipart.ReadForm and the http.Request methods that call it do not limit the amount of disk consumed by temporary files. Callers can limit the size of form data with http.MaxBytesReader.
Published: 2023-02-28T17:19:42.989Z
Updated: 2025-03-07T17:58:06.747Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-41724 vulnerable 2026-06-03 14:48:05.903311 Panic on large handshake records in crypto/tls
Large handshake records may cause panics in crypto/tls. Both clients and servers may send large TLS handshake records which cause servers and clients, respectively, to panic when attempting to construct responses. This affects all TLS 1.3 clients, TLS 1.2 clients which explicitly enable session resumption (by setting Config.ClientSessionCache to a non-nil value), and TLS 1.3 servers which request client certificates (by setting Config.ClientAuth >= RequestClientCert).
Published: 2023-02-28T17:19:44.420Z
Updated: 2025-03-07T17:57:05.605Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-41723 vulnerable 2026-06-03 14:48:05.900358 Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net
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.
Published: 2023-02-28T17:19:45.801Z
Updated: 2025-05-05T16:12:28.159Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-41722 vulnerable 2026-06-03 14:48:05.896738 Path traversal on Windows in path/filepath
A path traversal vulnerability exists in filepath.Clean on Windows. On Windows, the filepath.Clean function could transform an invalid path such as "a/../c:/b" into the valid path "c:\b". This transformation of a relative (if invalid) path into an absolute path could enable a directory traversal attack. After fix, the filepath.Clean function transforms this path into the relative (but still invalid) path ".\c:\b".
Published: 2023-02-28T17:19:41.324Z
Updated: 2025-03-07T17:58:57.055Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-41720 vulnerable 2026-06-03 14:48:05.892255 Restricted file access on Windows in os and net/http
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").Open("COM1") opens the COM1 device. Both os.DirFS and http.Dir only provide read-only filesystem access. In addition, on Windows, an os.DirFS for the directory (the root of the current drive) can permit a maliciously crafted path to escape from the drive and access any path on the system. With fix applied, the behavior of os.DirFS("") has changed. Previously, an empty root was treated equivalently to "/", so os.DirFS("").Open("tmp") would open the path "/tmp". This now returns an error.
Published: 2022-12-07T16:11:18.867Z
Updated: 2025-04-23T15:43:46.208Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-41717 vulnerable 2026-06-03 14:48:05.883696 Excessive memory growth in net/http and golang.org/x/net/http2
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 server to allocate approximately 64 MiB per open connection.
Published: 2022-12-08T19:03:53.161Z
Updated: 2025-02-13T16:33:08.284Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-41716 vulnerable 2026-06-03 14:48:05.879201 Unsanitized NUL in environment variables on Windows in syscall and os/exec
Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows. In syscall.StartProcess and os/exec.Cmd, invalid environment variable values containing NUL values are not properly checked for. A malicious environment variable value can exploit this behavior to set a value for a different environment variable. For example, the environment variable string "A=B\x00C=D" sets the variables "A=B" and "C=D".
Published: 2022-11-02T15:28:19.574Z
Updated: 2024-10-30T13:59:43.967Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-41715 vulnerable 2026-06-03 14:48:05.875942 Memory exhaustion when compiling regular expressions in regexp/syntax
Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.
Published: 2022-10-14T00:00:00.000Z
Updated: 2025-02-13T16:33:07.652Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-32189 vulnerable 2026-06-03 14:47:20.873850 Panic when decoding Float and Rat types in math/big
A too-short encoded message can cause a panic in Float.GobDecode and Rat GobDecode in math/big in Go before 1.17.13 and 1.18.5, potentially allowing a denial of service.
Published: 2022-08-09T20:17:59.000Z
Updated: 2024-08-03T07:32:56.026Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-32148 vulnerable 2026-06-03 14:47:20.814339 Exposure of client IP addresses in net/http
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 value of the X-Forwarded-For header.
Published: 2022-08-09T20:18:21.000Z
Updated: 2026-03-06T19:06:52.828Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-30635 vulnerable 2026-06-03 14:47:09.333973 Stack exhaustion when decoding certain messages in encoding/gob
Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a message which contains deeply nested structures.
Published: 2022-08-09T20:16:05.000Z
Updated: 2026-03-06T17:44:24.600Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-30634 vulnerable 2026-06-03 14:47:09.331186 Indefinite hang with large buffers on Windows in crypto/rand
Infinite loop in Read in crypto/rand before Go 1.17.11 and Go 1.18.3 on Windows allows attacker to cause an indefinite hang by passing a buffer larger than 1 << 32 - 1 bytes.
Published: 2022-07-15T19:36:19.000Z
Updated: 2024-08-03T06:56:13.255Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-30633 vulnerable 2026-06-03 14:47:09.329481 Stack exhaustion when unmarshaling certain documents in encoding/xml
Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via unmarshalling an XML document into a Go struct which has a nested field that uses the 'any' field tag.
Published: 2022-08-09T20:16:19.000Z
Updated: 2026-03-09T16:53:13.209Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-30632 vulnerable 2026-06-03 14:47:09.328149 Stack exhaustion on crafted paths in path/filepath
Uncontrolled recursion in Glob in path/filepath before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path containing a large number of path separators.
Published: 2022-08-09T20:15:37.000Z
Updated: 2024-08-03T06:56:13.251Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-30631 vulnerable 2026-06-03 14:47:09.326908 Stack exhaustion when reading certain archives in compress/gzip
Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files.
Published: 2022-08-09T20:16:32.000Z
Updated: 2025-10-20T17:51:28.366Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-30630 vulnerable 2026-06-03 14:47:09.324768 Stack exhaustion in Glob on certain paths in io/fs
Uncontrolled recursion in Glob in io/fs before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path which contains a large number of path separators.
Published: 2022-08-09T20:17:15.000Z
Updated: 2026-03-06T17:48:19.834Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-30629 vulnerable 2026-06-03 14:47:09.323025 Session tickets lack random ticket_age_add in crypto/tls
Non-random values for ticket_age_add in session tickets in crypto/tls before Go 1.17.11 and Go 1.18.3 allow an attacker that can observe TLS handshakes to correlate successive connections by comparing ticket ages during session resumption.
Published: 2022-08-09T20:17:31.000Z
Updated: 2026-03-06T19:12:16.725Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-30580 vulnerable 2026-06-03 14:47:09.231723 Empty Cmd.Path can trigger unintended binary in os/exec on Windows
Code injection in Cmd.Start in os/exec before Go 1.17.11 and Go 1.18.3 allows execution of any binaries in the working directory named either "..com" or "..exe" by calling Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset.
Published: 2022-08-09T20:18:04.000Z
Updated: 2026-03-06T17:34:03.088Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-2880 vulnerable 2026-06-03 14:47:07.513615 Incorrect sanitization of forwarded query parameters in net/http/httputil
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 sanitizes the query parameters in the forwarded query when the outbound request's Form field is set after the ReverseProxy. Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged.
Published: 2022-10-14T00:00:00.000Z
Updated: 2025-02-13T16:32:39.111Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-2879 vulnerable 2026-06-03 14:47:07.511505 Unbounded memory consumption when reading headers in archive/tar
Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.
Published: 2022-10-14T00:00:00.000Z
Updated: 2025-02-13T16:32:38.510Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-29804 vulnerable 2026-06-03 14:46:58.922128 Path traversal via Clean on Windows in path/filepath
Incorrect conversion of certain invalid paths to valid, absolute paths in Clean in path/filepath before Go 1.17.11 and Go 1.18.3 on Windows allows potential directory traversal attack.
Published: 2022-08-09T00:00:00.000Z
Updated: 2024-08-03T06:33:42.804Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-29526 vulnerable 2026-06-03 14:46:58.517595 Details available
Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.
Published: 2022-06-22T13:15:32.000Z
Updated: 2024-08-03T06:26:06.342Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-28327 vulnerable 2026-06-03 14:46:54.714214 Details available
The generic P-256 feature in crypto/elliptic in Go before 1.17.9 and 1.18.x before 1.18.1 allows a panic via long scalar input.
Published: 2022-04-20T00:00:00.000Z
Updated: 2024-08-03T05:48:38.092Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-28131 vulnerable 2026-06-03 14:46:54.434282 Stack exhaustion from deeply nested XML documents in encoding/xml
Uncontrolled recursion in Decoder.Skip in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a deeply nested XML document.
Published: 2022-08-09T00:00:00.000Z
Updated: 2024-08-03T05:48:36.830Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-27664 vulnerable 2026-06-03 14:46:53.452051 Details available
In net/http in Go before 1.18.6 and 1.19.x before 1.19.1, attackers can cause a denial of service because an HTTP/2 connection can hang during closing if shutdown were preempted by a fatal error.
Published: 2022-09-06T17:29:08.000Z
Updated: 2024-08-03T05:32:59.884Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-27536 vulnerable 2026-06-03 14:46:46.165900 Details available
Certificate.Verify in crypto/x509 in Go 1.18.x before 1.18.1 can be caused to panic on macOS when presented with certain malformed certificates. This allows a remote TLS server to cause a TLS client to panic.
Published: 2022-04-20T00:00:00.000Z
Updated: 2024-08-03T05:32:58.690Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-24921 vulnerable 2026-06-03 14:46:36.598774 Details available
regexp.Compile in Go before 1.16.15 and 1.17.x before 1.17.8 allows stack exhaustion via a deeply nested expression.
Published: 2022-03-05T00:00:00.000Z
Updated: 2024-08-03T04:29:01.519Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-24675 vulnerable 2026-06-03 14:46:30.885900 Details available
encoding/pem in Go before 1.17.9 and 1.18.x before 1.18.1 has a Decode stack overflow via a large amount of PEM data.
Published: 2022-04-20T00:00:00.000Z
Updated: 2024-08-03T04:20:49.135Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23806 vulnerable 2026-06-03 14:46:28.376397 Details available
Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value that is not a valid field element.
Published: 2022-02-11T00:00:00.000Z
Updated: 2024-08-03T03:51:45.994Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23773 vulnerable 2026-06-03 14:46:28.345034 Details available
cmd/go in Go before 1.16.14 and 1.17.x before 1.17.7 can misinterpret branch names that falsely appear to be version tags. This can lead to incorrect access control if an actor is supposed to be able to create branches but not tags.
Published: 2022-02-11T00:16:08.000Z
Updated: 2024-08-03T03:51:45.976Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23772 vulnerable 2026-06-03 14:46:28.341880 Details available
Rat.SetString in math/big in Go before 1.16.14 and 1.17.x before 1.17.7 has an overflow that can lead to Uncontrolled Memory Consumption.
Published: 2022-02-11T00:11:15.000Z
Updated: 2024-08-03T03:51:46.050Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-1962 vulnerable 2026-06-03 14:45:59.991112 Stack exhaustion due to deeply nested types in go/parser
Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.
Published: 2022-08-09T20:18:18.000Z
Updated: 2026-03-06T19:08:08.543Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-1705 vulnerable 2026-06-03 14:45:59.448697 Improper sanitization of Transfer-Encoding headers in net/http
Acceptance of some invalid Transfer-Encoding headers in the HTTP/1 client in net/http before Go 1.17.12 and Go 1.18.4 allows HTTP request smuggling if combined with an intermediate server that also improperly fails to reject the header as invalid.
Published: 2022-08-09T20:16:57.000Z
Updated: 2026-03-06T17:46:56.094Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-44717 vulnerable 2026-06-03 14:45:36.953783 Details available
Go before 1.16.12 and 1.17.x before 1.17.5 on UNIX allows write operations to an unintended file or unintended network connection as a consequence of erroneous closing of file descriptor 0 after file-descriptor exhaustion.
Published: 2022-01-01T00:00:00.000Z
Updated: 2024-08-04T04:32:12.279Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-44716 vulnerable 2026-06-03 14:45:36.952322 Details available
net/http in Go before 1.16.12 and 1.17.x before 1.17.5 allows uncontrolled memory consumption in the header canonicalization cache via HTTP/2 requests.
Published: 2022-01-01T00:00:00.000Z
Updated: 2024-08-04T04:32:12.278Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-41772 vulnerable 2026-06-03 14:45:26.206686 Details available
Go before 1.16.10 and 1.17.x before 1.17.3 allows an archive/zip Reader.Open panic via a crafted ZIP archive containing an invalid name or an empty filename field.
Published: 2021-11-08T00:00:00.000Z
Updated: 2024-08-04T03:15:29.314Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-41771 vulnerable 2026-06-03 14:45:26.206161 Details available
ImportedSymbols in debug/macho (for Open or OpenFat) in Go before 1.16.10 and 1.17.x before 1.17.3 Accesses a Memory Location After the End of a Buffer, aka an out-of-bounds slice situation.
Published: 2021-11-08T00:00:00.000Z
Updated: 2024-08-04T03:15:29.252Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-3115 vulnerable 2026-06-03 14:45:10.075698 Details available
Go before 1.14.14 and 1.15.x before 1.15.7 on Windows is vulnerable to Command Injection and remote code execution when using the "go get" command to fetch modules that make use of cgo (for example, cgo can execute a gcc program from an untrusted download).
Published: 2021-01-26T02:14:51.000Z
Updated: 2024-08-03T16:45:51.223Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-3114 vulnerable 2026-06-03 14:45:10.073830 Details available
In Go before 1.14.14 and 1.15.x before 1.15.7, crypto/elliptic/p224.go can generate incorrect outputs, related to an underflow of the lowest limb during the final complete reduction in the P-224 field.
Published: 2021-01-26T02:23:18.000Z
Updated: 2024-08-03T16:45:51.301Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-39293 vulnerable 2026-06-03 14:45:08.774191 Details available
In archive/zip in Go before 1.16.8 and 1.17.x before 1.17.1, a crafted archive header (falsely designating that many files are present) can cause a NewReader or OpenReader panic. NOTE: this issue exists because of an incomplete fix for CVE-2021-33196.
Published: 2022-01-24T00:00:00.000Z
Updated: 2024-08-04T02:06:41.535Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-38297 vulnerable 2026-06-03 14:45:01.705229 Details available
Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a function invocation from a WASM module, when GOARCH=wasm GOOS=js is used.
Published: 2021-10-18T00:00:00.000Z
Updated: 2024-08-04T01:37:16.318Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-36221 vulnerable 2026-06-03 14:44:57.423472 Details available
Go before 1.15.15 and 1.16.x before 1.16.7 has a race condition that can lead to a net/http/httputil ReverseProxy panic upon an ErrAbortHandler abort.
Published: 2021-08-08T00:00:00.000Z
Updated: 2024-08-04T00:54:50.729Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-34558 vulnerable 2026-06-03 14:44:45.408146 Details available
The crypto/tls package of Go through 1.16.5 does not properly assert that the type of public key in an X.509 certificate matches the expected type when doing a RSA based key exchange, allowing a malicious TLS server to cause a TLS client to panic.
Published: 2021-07-15T13:47:36.000Z
Updated: 2024-08-04T00:12:50.360Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-33198 vulnerable 2026-06-03 14:44:42.861667 Details available
In Go before 1.15.13 and 1.16.x before 1.16.5, there can be a panic for a large exponent to the math/big.Rat SetString or UnmarshalText method.
Published: 2021-08-02T18:55:53.000Z
Updated: 2024-08-03T23:42:20.280Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-33197 vulnerable 2026-06-03 14:44:42.861353 Details available
In Go before 1.15.13 and 1.16.x before 1.16.5, some configurations of ReverseProxy (from net/http/httputil) result in a situation where an attacker is able to drop arbitrary headers.
Published: 2021-08-02T18:54:45.000Z
Updated: 2024-08-03T23:42:20.296Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-33196 vulnerable 2026-06-03 14:44:42.860982 Details available
In archive/zip in Go before 1.15.13 and 1.16.x before 1.16.5, a crafted file count (in an archive's header) can cause a NewReader or OpenReader panic.
Published: 2021-08-02T00:00:00.000Z
Updated: 2024-08-03T23:42:20.269Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-33195 vulnerable 2026-06-03 14:44:42.859630 Details available
Go before 1.15.13 and 1.16.x before 1.16.5 has functions for DNS lookups that do not validate replies from DNS servers, and thus a return value may contain an unsafe injection (e.g., XSS) that does not conform to the RFC1035 format.
Published: 2021-08-02T18:51:34.000Z
Updated: 2024-08-03T23:42:20.281Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-33194 vulnerable 2026-06-03 14:44:42.858587 Details available
golang.org/x/net before v0.0.0-20210520170846-37e1c6afe023 allows attackers to cause a denial of service (infinite loop) via crafted ParseFragment input.
Published: 2021-05-26T14:49:46.000Z
Updated: 2024-08-03T23:42:20.297Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-31525 vulnerable 2026-06-03 14:44:33.221721 Details available
net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.
Published: 2021-05-27T12:17:11.000Z
Updated: 2024-08-03T23:03:33.426Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-29923 vulnerable 2026-06-03 14:44:20.926307 Details available
Go before 1.17 does not properly consider extraneous zero characters at the beginning of an IP address octet, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation. This affects net.ParseIP and net.ParseCIDR.
Published: 2021-08-07T16:38:59.000Z
Updated: 2024-08-03T22:18:03.455Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-27919 vulnerable 2026-06-03 14:44:17.057564 Details available
archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.
Published: 2021-03-11T00:00:13.000Z
Updated: 2024-08-03T21:33:17.224Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-27918 vulnerable 2026-06-03 14:44:17.057095 Details available
encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1 has an infinite loop if a custom TokenReader (for xml.NewTokenDecoder) returns EOF in the middle of an element. This can occur in the Decode, DecodeElement, or Skip method.
Published: 2021-03-10T23:54:43.000Z
Updated: 2024-08-03T21:33:16.406Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-23772 not_vulnerable 2026-06-03 14:43:55.536913 Arbitrary File Write
HIGH (7.5)
This affects all versions of package github.com/kataras/iris; all versions of package github.com/kataras/iris/v12. The unsafe handling of file names during upload using UploadFormFiles method may enable attackers to write to arbitrary locations outside the designated target folder.
Published: 2021-12-24T12:05:14.635Z
Updated: 2024-09-16T20:03:06.172Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-7919 vulnerable 2026-06-03 14:43:07.725938 Details available
Go before 1.12.16 and 1.13.x before 1.13.7 (and the crypto/cryptobyte package before 0.0.0-20200124225646-8b5121be2f68 for Go) allows attacks on clients (resulting in a panic) via a malformed X.509 certificate.
Published: 2020-03-16T20:55:31.000Z
Updated: 2024-08-04T09:48:23.766Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-29511 vulnerable 2026-06-03 14:42:29.537604 Details available
CRITICAL (9.8)
The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element namespace prefixes during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.
Published: 2020-12-14T19:59:50.700Z
Updated: 2024-09-17T04:09:22.123Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-29510 vulnerable 2026-06-03 14:42:29.537214 Details available
CRITICAL (9.8)
The encoding/xml package in Go versions 1.15 and earlier does not correctly preserve the semantics of directives during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.
Published: 2020-12-14T19:57:44.107Z
Updated: 2024-09-16T16:48:42.611Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-29509 vulnerable 2026-06-03 14:42:29.536001 Details available
CRITICAL (9.8)
The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute namespace prefixes during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.
Published: 2020-12-14T20:02:02.448Z
Updated: 2024-09-17T03:43:39.703Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-28367 vulnerable 2026-06-03 14:42:19.338676 Arbitrary code execution via the go command with cgo in cmd/go
Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a #cgo directive.
Published: 2020-11-18T00:00:00.000Z
Updated: 2024-08-04T16:33:59.087Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-28366 vulnerable 2026-06-03 14:42:19.338202 Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo
Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via a malicious unquoted symbol name in a linked object file.
Published: 2020-11-18T00:00:00.000Z
Updated: 2024-08-04T16:33:58.955Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-28362 vulnerable 2026-06-03 14:42:19.329131 Details available
Go before 1.14.12 and 1.15.x before 1.15.4 allows Denial of Service.
Published: 2020-11-18T16:27:38.000Z
Updated: 2024-08-04T16:33:59.119Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-24553 vulnerable 2026-06-03 14:42:07.334773 Details available
Go before 1.14.8 and 1.15.x before 1.15.1 allows XSS because text/html is the default for CGI/FCGI handlers that lack a Content-Type header.
Published: 2020-09-02T16:25:52.000Z
Updated: 2024-08-04T15:12:09.157Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-16845 vulnerable 2026-06-03 14:41:52.860689 Details available
Go before 1.13.15 and 14.x before 1.14.7 can have an infinite read loop in ReadUvarint and ReadVarint in encoding/binary via invalid inputs.
Published: 2020-08-06T17:03:33.000Z
Updated: 2024-08-04T13:45:33.920Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-15586 vulnerable 2026-06-03 14:41:46.051225 Details available
Go before 1.13.13 and 1.14.x before 1.14.5 has a data race in some net/http servers, as demonstrated by the httputil.ReverseProxy Handler, because it reads a request body and writes a response at the same time.
Published: 2020-07-17T15:38:24.000Z
Updated: 2024-08-04T13:22:29.273Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-14039 vulnerable 2026-06-03 14:41:37.734349 Details available
In Go before 1.13.13 and 1.14.x before 1.14.5, Certificate.Verify may lack a check on the VerifyOptions.KeyUsages EKU requirements (if VerifyOptions.Roots equals nil and the installation is on Windows). Thus, X.509 certificate verification is incomplete.
Published: 2020-07-17T15:43:33.000Z
Updated: 2024-08-04T12:32:14.665Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-0601 vulnerable 2026-06-03 14:40:57.579146 Details available
A spoofing vulnerability exists in the way Windows CryptoAPI (Crypt32.dll) validates Elliptic Curve Cryptography (ECC) certificates.An attacker could exploit the vulnerability by using a spoofed code-signing certificate to sign a malicious executable, making it appear the file was from a trusted, legitimate source, aka 'Windows CryptoAPI Spoofing Vulnerability'.
Published: 2020-01-14T23:11:20.000Z
Updated: 2025-10-21T23:35:53.978Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-9634 vulnerable 2026-06-03 14:40:49.504640 Details available
Go through 1.12 on Windows misuses certain LoadLibrary functionality, leading to DLL injection.
Published: 2019-03-08T15:00:00.000Z
Updated: 2024-08-04T21:54:45.177Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-6486 vulnerable 2026-06-03 14:40:39.397075 Details available
Go before 1.10.8 and 1.11.x before 1.11.5 mishandles P-521 and P-384 elliptic curves, which allows attackers to cause a denial of service (CPU consumption) or possibly conduct ECDH private key recovery attacks.
Published: 2019-01-24T05:00:00.000Z
Updated: 2024-08-04T20:23:20.998Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-17596 vulnerable 2026-06-03 14:39:56.605472 Details available
Go before 1.12.11 and 1.3.x before 1.13.2 can panic upon an attempt to process network traffic containing an invalid DSA public key. There are several attack scenarios, such as traffic from a client to a server that verifies client certificates.
Published: 2019-10-24T21:07:25.000Z
Updated: 2024-08-05T01:47:13.228Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-16276 vulnerable 2026-06-03 14:39:54.201966 Details available
Go before 1.12.10 and 1.13.x before 1.13.1 allow HTTP Request Smuggling.
Published: 2019-09-30T18:40:12.000Z
Updated: 2024-08-05T01:10:41.714Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-14809 vulnerable 2026-06-03 14:39:46.489328 Details available
net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization bypass in some applications. This is related to a Host field with a suffix appearing in neither Hostname() nor Port(), and is related to a non-numeric port number. For example, an attacker can compose a crafted javascript:// URL that results in a hostname of google.com.
Published: 2019-08-13T20:54:24.000Z
Updated: 2024-08-05T00:26:39.120Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-11888 vulnerable 2026-06-03 14:39:33.996346 Details available
Go through 1.12.5 on Windows mishandles process creation with a nil environment in conjunction with a non-nil token, which allows attackers to obtain sensitive information or gain privileges.
Published: 2019-05-13T04:30:21.000Z
Updated: 2024-08-04T23:10:29.331Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-7187 vulnerable 2026-06-03 14:39:01.614630 Details available
The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only checks for "://" anywhere in the string), which allows remote attackers to execute arbitrary OS commands via a crafted web site.
Published: 2018-02-16T17:00:00.000Z
Updated: 2024-08-05T06:24:10.498Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-6574 vulnerable 2026-06-03 14:39:00.524445 Details available
Go before 1.8.7, Go 1.9.x before 1.9.4, and Go 1.10 pre-releases before Go 1.10rc2 allow "go get" remote command execution during source code build, by leveraging the gcc or clang plugin feature, because -fplugin= and -plugin= arguments were not blocked.
Published: 2018-02-07T21:00:00.000Z
Updated: 2024-08-05T06:10:10.226Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-16875 vulnerable 2026-06-03 14:38:21.175100 Details available
MEDIUM (5.9)
The crypto/x509 package of Go before 1.10.6 and 1.11.x before 1.11.3 does not limit the amount of work performed for each chain verification, which might allow attackers to craft pathological inputs leading to a CPU denial of service. Go TLS servers accepting client certificates and TLS clients are affected.
Published: 2018-12-14T14:00:00.000Z
Updated: 2024-08-05T10:32:54.282Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-16874 vulnerable 2026-06-03 14:38:21.174501 Details available
MEDIUM (6.8)
In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to directory traversal when executed with the import path of a malicious Go package which contains curly braces (both '{' and '}' characters). Specifically, it is only vulnerable in GOPATH mode, but not in module mode (the distinction is documented at https://golang.org/cmd/go/#hdr-Module_aware_go_get). The attacker can cause an arbitrary filesystem write, which can lead to code execution.
Published: 2018-12-14T14:00:00.000Z
Updated: 2024-08-05T10:32:54.222Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-16873 vulnerable 2026-06-03 14:38:21.172195 Details available
HIGH (7.5)
In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag and the import path of a malicious Go package, or a package that imports it directly or indirectly. Specifically, it is only vulnerable in GOPATH mode, but not in module mode (the distinction is documented at https://golang.org/cmd/go/#hdr-Module_aware_go_get). Using custom domains, it's possible to arrange things so that a Git repository is cloned to a folder named ".git" by using a vanity import path that ends with "/.git". If the Git repository root contains a "HEAD" file, a "config" file, an "objects" directory, a "refs" directory, with some work to ensure the proper ordering of operations, "go get -u" can be tricked into considering the parent directory as a repository root, and running Git commands on it. That will use the "config" file in the original Git repository root for its configuration, and if that config file contains malicious commands, they will execute on the system running "go get -u".
Published: 2018-12-14T14:00:00.000Z
Updated: 2024-08-05T10:32:54.055Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-8932 vulnerable 2026-06-03 14:37:40.848531 Details available
A bug in the standard library ScalarMult implementation of curve P-256 for amd64 architectures in Go before 1.7.6 and 1.8.x before 1.8.2 causes incorrect results to be generated for specific input points. An adaptive attack can be mounted to progressively extract the scalar input to ScalarMult by submitting crafted points and observing failures to the derive correct output. This leads to a full key recovery attack against static ECDH, as used in popular JWT libraries.
Published: 2017-07-06T16:00:00.000Z
Updated: 2024-08-05T16:48:22.902Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-15042 vulnerable 2026-06-03 14:36:45.184413 Details available
An unintended cleartext issue exists in Go before 1.8.4 and 1.9.x before 1.9.1. RFC 4954 requires that, during SMTP, the PLAIN auth scheme must only be used on network connections secured with TLS. The original implementation of smtp.PlainAuth in Go 1.0 enforced this requirement, and it was documented to do so. In 2013, upstream issue #5184, this was changed so that the server may decide whether PLAIN is acceptable. The result is that if you set up a man-in-the-middle SMTP server that doesn't advertise STARTTLS and does advertise that PLAIN auth is OK, the smtp.PlainAuth implementation sends the username and password.
Published: 2017-10-05T21:00:00.000Z
Updated: 2024-08-05T19:42:22.302Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-15041 vulnerable 2026-06-03 14:36:45.178165 Details available
Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution. Using custom domains, it is possible to arrange things so that example.com/pkg1 points to a Subversion repository but example.com/pkg1/pkg2 points to a Git repository. If the Subversion repository includes a Git checkout in its pkg2 directory and some other work is done to ensure the proper ordering of operations, "go get" can be tricked into reusing this Git checkout for the fetch of code from pkg2. If the Subversion repository's Git checkout has malicious commands in .git/hooks/, they will execute on the system running "go get."
Published: 2017-10-05T21:00:00.000Z
Updated: 2024-08-05T19:42:22.368Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-1000098 vulnerable 2026-06-03 14:36:24.892778 Details available
The net/http package's Request.ParseMultipartForm method starts writing to temporary files once the request body size surpasses the given "maxMemory" limit. It was possible for an attacker to generate a multipart request crafted such that the server ran out of file descriptors.
Published: 2017-10-04T01:00:00.000Z
Updated: 2024-09-16T22:19:55.128Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-1000097 vulnerable 2026-06-03 14:36:24.892353 Details available
On Darwin, user's trust preferences for root certificates were not honored. If the user had a root certificate loaded in their Keychain that was explicitly not trusted, a Go program would still verify a connection using that root certificate.
Published: 2017-10-04T01:00:00.000Z
Updated: 2024-09-16T19:24:53.333Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2016-5386 vulnerable 2026-06-03 14:35:55.042840 Details available
The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect CGI applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect a CGI application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue.
Published: 2016-07-19T01:00:00.000Z
Updated: 2024-08-06T01:00:59.948Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2016-3959 vulnerable 2026-06-03 14:35:46.888538 Details available
The Verify function in crypto/dsa/dsa.go in Go before 1.5.4 and 1.6.x before 1.6.1 does not properly check parameters passed to the big integer library, which might allow remote attackers to cause a denial of service (infinite loop) via a crafted public key to a program that uses HTTPS client certificates or SSH server libraries.
Published: 2016-05-23T19:00:00.000Z
Updated: 2024-08-06T00:10:31.950Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2016-3958 vulnerable 2026-06-03 14:35:46.887253 Details available
Untrusted search path vulnerability in Go before 1.5.4 and 1.6.x before 1.6.1 on Windows allows local users to gain privileges via a Trojan horse DLL in the current working directory, related to use of the LoadLibrary function.
Published: 2016-05-23T19:00:00.000Z
Updated: 2024-08-06T00:10:31.969Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2015-5741 vulnerable 2026-06-03 14:35:00.587882 Details available
The net/http library in net/http/transfer.go in Go before 1.4.3 does not properly parse HTTP headers, which allows remote attackers to conduct HTTP request smuggling attacks via a request that contains Content-Length and Transfer-Encoding header fields.
Published: 2020-02-08T18:02:57.000Z
Updated: 2024-08-06T06:59:04.406Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2015-5740 vulnerable 2026-06-03 14:35:00.587199 Details available
The net/http library in net/http/transfer.go in Go before 1.4.3 does not properly parse HTTP headers, which allows remote attackers to conduct HTTP request smuggling attacks via a request with two Content-length headers.
Published: 2017-10-18T20:00:00.000Z
Updated: 2024-08-06T06:59:04.387Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2015-5739 vulnerable 2026-06-03 14:35:00.586287 Details available
The net/http library in net/textproto/reader.go in Go before 1.4.3 does not properly parse HTTP header keys, which allows remote attackers to conduct HTTP request smuggling attacks via a space instead of a hyphen, as demonstrated by "Content Length" instead of "Content-Length."
Published: 2017-10-18T20:00:00.000Z
Updated: 2024-08-06T06:59:04.114Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.