Skip to content
pkgseek
Security intelligence

CVE search and reverse lookup

Search by CVE id or advisory text, then see exactly which indexed packages and distribution releases are affected.

147 CVEs

5 / 5
CVE-2022-41717medium · 5.3Indexed 12/8/2022

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.

70 affected packages4 distributions
CVE-2022-41716high · 7.5Indexed 11/2/2022

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".

13 affected packages1 distributions
CVE-2022-41715high · 7.5Indexed 10/4/2022

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.

72 affected packages5 distributions
CVE-2022-2880high · 7.5Indexed 10/4/2022

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.

72 affected packages4 distributions
CVE-2022-2879high · 7.5Indexed 10/4/2022

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.

68 affected packages4 distributions
CVE-2022-27664high · 7.5Indexed 9/6/2022

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.

73 affected packages5 distributions
CVE-2022-32189high · 7.5Indexed 8/1/2022

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.

69 affected packages4 distributions
CVE-2022-29526medium · 5.3Indexed 5/11/2022

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.

22 affected packages4 distributions
CVE-2022-24921high · 7.5Indexed 3/5/2022

regexp.Compile in Go before 1.16.15 and 1.17.x before 1.17.8 allows stack exhaustion via a deeply nested expression.

17 affected packages3 distributions
CVE-2022-23773high · 7.5Indexed 2/10/2022

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.

18 affected packages3 distributions
CVE-2022-23772high · 7.5Indexed 2/10/2022

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.

17 affected packages3 distributions
CVE-2021-38297critical · 9.8Indexed 10/18/2021

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.

17 affected packages3 distributions
CVE-2021-29923high · 7.5Indexed 8/7/2021

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.

17 affected packages3 distributions
CVE-2021-34558medium · 6.5Indexed 7/15/2021

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.

52 affected packages4 distributions
CVE-2021-36221medium · 5.9Indexed 5/4/2021

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.

40 affected packages2 distributions
CVE-2021-27919medium · 5.5Indexed 3/10/2021

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.

8 affected packages1 distributions
CVE-2021-27918high · 7.5Indexed 3/10/2021

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.

17 affected packages3 distributions
CVE-2021-3114medium · 6.5Indexed 1/26/2021

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.

18 affected packages3 distributions
CVE-2020-29511medium · 5.6Indexed 12/14/2020

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.

8 affected packages1 distributions
CVE-2020-29510medium · 5.6Indexed 12/14/2020

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.

8 affected packages1 distributions
CVE-2020-29509medium · 5.6Indexed 12/14/2020

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.

8 affected packages1 distributions
CVE-2020-28367high · 7.5Indexed 11/16/2020

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.

17 affected packages3 distributions
CVE-2020-28366high · 7.5Indexed 11/16/2020

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.

17 affected packages3 distributions
CVE-2020-28362high · 7.5Indexed 11/16/2020

Go before 1.14.12 and 1.15.x before 1.15.4 allows Denial of Service.

13 affected packages3 distributions
CVE-2020-24553medium · 6.1Indexed 9/2/2020

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.

17 affected packages3 distributions
CVE-2020-16845high · 7.5Indexed 8/6/2020

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.

16 affected packages3 distributions
CVE-2020-15586medium · 5.9Indexed 7/14/2020

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.

16 affected packages3 distributions