← 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
1Crypto
Jul 23, 2026
May 22, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
The RSA and DSA public key parsers did not enforce size limits on key parameters. A crafted public key with an excessively large modulus or DSA parameter could cause several minutes of CPU consumption during signature ve...Show more
The RSA and DSA public key parsers did not enforce size limits on key parameters. A crafted public key with an excessively large modulus or DSA parameter could cause several minutes of CPU consumption during signature verification. This could be triggered by unauthenticated clients during public key authentication. RSA moduli are now limited to 8192 bits, and DSA parameters are validated per FIPS 186-2.Show less
1Golang
1Crypto
Jul 24, 2026
May 22, 2026
N/A· v4
8.8 HIGH· v3
N/A· v2
When an SSH server authentication callback returned PartialSuccessError with non-nil Permissions, those permissions were silently discarded, potentially dropping certificate restrictions such as force-command after a sec...Show more
When an SSH server authentication callback returned PartialSuccessError with non-nil Permissions, those permissions were silently discarded, potentially dropping certificate restrictions such as force-command after a second factor succeeded. Returning non-nil Permissions with PartialSuccessError now results in a connection error.Show less
1Golang
1Crypto
Jul 23, 2026
May 22, 2026
N/A· v4
6.5 MEDIUM· v3
N/A· v2
An authenticated SSH client that repeatedly opened channels which were rejected by the server caused unbounded memory growth, eventually crashing the server process and affecting all connected users. Rejected channels ar...Show more
An authenticated SSH client that repeatedly opened channels which were rejected by the server caused unbounded memory growth, eventually crashing the server process and affecting all connected users. Rejected channels are now properly removed from the connection's internal state and released for garbage collection.Show less
1Golang
1Go
Jun 17, 2026
May 7, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
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 c...Show more
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.Show less
1Golang
1Go
Jul 24, 2026
May 7, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.
1Golang
1Go
Jun 17, 2026
May 7, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL (0).
1Golang
1Go
Jun 17, 2026
May 7, 2026
N/A· v4
6.1 MEDIUM· v3
N/A· v2
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 t...Show more
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.Show less
1Golang
1Go
Jun 17, 2026
May 7, 2026
N/A· v4
5.3 MEDIUM· v3
N/A· v2
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 reque...Show more
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.Show less
1Golang
1Go
Jun 17, 2026
May 7, 2026
N/A· v4
6.1 MEDIUM· v3
N/A· v2
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>...Show more
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.Show less
1Golang
1Go
Jul 24, 2026
May 7, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.
1Golang
1Go
Jun 17, 2026
May 7, 2026
N/A· v4
5.3 MEDIUM· v3
N/A· v2
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, caus...Show more
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.Show less
1Golang
1Go
Jun 17, 2026
May 7, 2026
N/A· v4
5.9 MEDIUM· v3
N/A· v2
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 fi...Show more
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.Show less
1Golang
2Go
Http2
Jul 24, 2026
May 7, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
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.
1Golang
1Go
Jul 24, 2026
May 7, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
When using LookupCNAME with the cgo DNS resolver, a very long CNAME response can trigger a double-free of C memory and a crash.
1Golang
1Image
Jun 25, 2026
Apr 21, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
Parsing a WEBP image with an invalid, large size panics on 32-bit platforms.
1Golang
1Image
Jun 17, 2026
Apr 21, 2026
N/A· v4
6.1 MEDIUM· v3
N/A· v2
Parsing a malicious font file can cause excessive memory allocation.
1Golang
1Go
Jul 24, 2026
Apr 8, 2026
N/A· v4
8.2 HIGH· v3
N/A· v2
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 oth...Show more
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.Show less
1Golang
1Go
Jul 25, 2026
Apr 8, 2026
N/A· v4
6.1 MEDIUM· v3
N/A· v2
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...Show more
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.Show less
1Golang
1Go
Jul 25, 2026
Apr 8, 2026
N/A· v4
5.5 MEDIUM· v3
N/A· v2
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.
1Golang
1Go
Jul 25, 2026
Apr 8, 2026
N/A· v4
7.5 HIGH· v3
N/A· v2
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. Th...Show more
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.Show less