← Back

Golang

golang

221 CVEs • 13 products

Products (13)

Click to collapse
Toggle
Go
go
Crypto
crypto
Net
net
Http2
http2
Image
image
Text
text
Ssh
ssh
Tiff
tiff
Networking
networking
Package Ssh
package_ssh
Protobuf
protobuf
H2c
h2c
Hpack
hpack

CVEs (221)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Golang
1Go
Jul 25, 2026
Apr 8, 2026
N/A· v4
6.4 MEDIUM· v3
N/A· v2
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 sy...Show more
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.Show less
1Golang
1Go
Jul 25, 2026
Apr 8, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
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...Show more
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.Show less
1Golang
1Go
Jul 25, 2026
Apr 8, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
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 affe...Show more
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.Show less
1Golang
1Go
Jul 25, 2026
Apr 8, 2026
N/A· v4
7.1 HIGH· v3
N/A· v2
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...Show more
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.Show less
1Golang
1Go
Jul 25, 2026
Apr 8, 2026
N/A· v4
9.8 CRITICAL· v3
N/A· v2
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.
1Golang
1Go
Jul 25, 2026
Apr 8, 2026
N/A· v4
8.8 HIGH· v3
N/A· v2
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.
1Golang
1Tiff
Jun 17, 2026
Mar 25, 2026
N/A· v4
5.3 MEDIUM· v3
N/A· v2
A maliciously crafted TIFF file can cause image decoding to attempt to allocate up 4GiB of memory, causing either excessive resource consumption or an out-of-memory error.
1Golang
1Go
Jun 17, 2026
Mar 6, 2026
N/A· v4
6.1 MEDIUM· v3
N/A· v2
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,...Show more
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.Show less
1Golang
1Go
Jun 17, 2026
Mar 6, 2026
N/A· v4
2.5 LOW· v3
N/A· v2
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 l...Show more
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.Show less
1Golang
1Go
Jun 17, 2026
Mar 6, 2026
N/A· v4
5.9 MEDIUM· v3
N/A· v2
Certificate verification can panic when a certificate in the chain has an empty DNS name and another certificate in the chain has excluded name constraints. This can crash programs that are either directly verifying X.50...Show more
Certificate verification can panic when a certificate in the chain has an empty DNS name and another certificate in the chain has excluded name constraints. This can crash programs that are either directly verifying X.509 certificate chains, or those that use TLS.Show less
1Golang
1Go
Jul 22, 2026
Mar 6, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
When verifying a certificate chain which contains a certificate containing multiple email address constraints which share common local portions but different domain portions, these constraints will not be properly applie...Show more
When verifying a certificate chain which contains a certificate containing multiple email address constraints which share common local portions but different domain portions, these constraints will not be properly applied, and only the last constraint will be considered.Show less
1Golang
1Go
Jul 24, 2026
Mar 6, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
url.Parse insufficiently validated the host/authority component and accepted some invalid URLs.
1Golang
1Go
Jun 17, 2026
Feb 5, 2026
N/A· v4
10.0 CRITICAL· v3
N/A· v2
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...Show more
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.Show less
1Golang
1Go
Jul 24, 2026
Feb 5, 2026
N/A· v4
8.6 HIGH· v3
N/A· v2
A discrepancy between how Go and C/C++ comments were parsed allowed for code smuggling into the resulting cgo binary.
1Golang
1Go
Jun 17, 2026
Feb 4, 2026
N/A· v4
3.8 LOW· v3
N/A· v2
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 t...Show more
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.Show less
1Golang
1Go
Jun 17, 2026
Jan 28, 2026
N/A· v4
7.0 HIGH· v3
N/A· v2
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 une...Show more
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.Show less
1Golang
1Go
Jul 20, 2026
Jan 28, 2026
N/A· v4
8.6 HIGH· v3
N/A· v2
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 argume...Show more
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.Show less
1Golang
1Go
Jun 17, 2026
Jan 28, 2026
N/A· v4
5.3 MEDIUM· v3
N/A· v2
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 befo...Show more
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.Show less
1Golang
1Go
Jun 17, 2026
Jan 28, 2026
N/A· v4
6.5 MEDIUM· v3
N/A· v2
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.
1Golang
1Go
Jul 24, 2026
Jan 28, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
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.Pars...Show more
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.Show less