Golang Go vulnerabilities
142 known vulnerabilities affecting golang/go.
Total CVEs
142
CISA KEV
2
actively exploited
Public exploits
2
Exploited in wild
2
Severity breakdown
CRITICAL17HIGH84MEDIUM39LOW2
Vulnerabilities
Page 4 of 8
CVE-2022-32190HIGHCVSS 7.5v1.19.02022-09-13
CVE-2022-32190 [HIGH] CWE-22 CVE-2022-32190: JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example,
JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result.
nvd
CVE-2022-27664HIGHCVSS 7.5fixed in 1.18.6v1.19.02022-09-06
CVE-2022-27664 [HIGH] CVE-2022-27664: In net/http in Go before 1.18.6 and 1.19.x before 1.19.1, attackers can cause a denial of service be
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.
nvd
CVE-2022-30631HIGHCVSS 7.5fixed in 1.17.12≥ 1.18.0, < 1.18.42022-08-10
CVE-2022-30631 [HIGH] CWE-674 CVE-2022-30631: Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an att
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.
nvd
CVE-2022-30633HIGHCVSS 7.5fixed in 1.17.12≥ 1.18.0, < 1.18.42022-08-10
CVE-2022-30633 [HIGH] CWE-674 CVE-2022-30633: Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attack
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.
nvd
CVE-2022-29804HIGHCVSS 7.5fixed in 1.17.11≥ 1.18.0, < 1.18.32022-08-10
CVE-2022-29804 [HIGH] CWE-22 CVE-2022-29804: Incorrect conversion of certain invalid paths to valid, absolute paths in Clean in path/filepath bef
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.
nvd
CVE-2022-30632HIGHCVSS 7.5fixed in 1.17.12≥ 1.18.0, < 1.18.42022-08-10
CVE-2022-30632 [HIGH] CWE-674 CVE-2022-30632: Uncontrolled recursion in Glob in path/filepath before Go 1.17.12 and Go 1.18.4 allows an attacker t
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.
nvd
CVE-2022-30630HIGHCVSS 7.5fixed in 1.17.12≥ 1.18.0, < 1.18.42022-08-10
CVE-2022-30630 [HIGH] CWE-674 CVE-2022-30630: Uncontrolled recursion in Glob in io/fs before Go 1.17.12 and Go 1.18.4 allows an attacker to cause
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.
nvd
CVE-2022-30635HIGHCVSS 7.5fixed in 1.17.12≥ 1.18.0, < 1.18.42022-08-10
CVE-2022-30635 [HIGH] CWE-674 CVE-2022-30635: Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an a
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.
nvd
CVE-2022-28131HIGHCVSS 7.5fixed in 1.17.12≥ 1.18.0, < 1.18.42022-08-10
CVE-2022-28131 [HIGH] CWE-674 CVE-2022-28131: Uncontrolled recursion in Decoder.Skip in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an att
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.
nvd
CVE-2022-30580HIGHCVSS 7.8fixed in 1.17.11≥ 1.18.0, < 1.18.32022-08-10
CVE-2022-30580 [HIGH] CWE-94 CVE-2022-30580: Code injection in Cmd.Start in os/exec before Go 1.17.11 and Go 1.18.3 allows execution of any binar
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.
nvd
CVE-2022-32189HIGHCVSS 7.5fixed in 1.17.13≥ 1.18.0, < 1.18.52022-08-10
CVE-2022-32189 [HIGH] CVE-2022-32189: A too-short encoded message can cause a panic in Float.GobDecode and Rat GobDecode in math/big in Go
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.
nvd
CVE-2022-1705MEDIUMCVSS 6.5fixed in 1.17.12≥ 1.18.0, < 1.18.42022-08-10
CVE-2022-1705 [MEDIUM] CWE-444 CVE-2022-1705: Acceptance of some invalid Transfer-Encoding headers in the HTTP/1 client in net/http before Go 1.17
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.
nvd
CVE-2022-32148MEDIUMCVSS 6.5fixed in 1.17.12≥ 1.18.0, < 1.18.42022-08-10
CVE-2022-32148 [MEDIUM] CVE-2022-32148: Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1.18.4 can be triggere
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.
nvd
CVE-2022-1962MEDIUMCVSS 5.5fixed in 1.17.12≥ 1.18.0, < 1.18.42022-08-10
CVE-2022-1962 [MEDIUM] CWE-674 CVE-2022-1962: Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an
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.
nvd
CVE-2022-30629LOWCVSS 3.1fixed in 1.17.11≥ 1.18.0, < 1.18.32022-08-10
CVE-2022-30629 [LOW] CWE-330 CVE-2022-30629: Non-random values for ticket_age_add in session tickets in crypto/tls before Go 1.17.11 and Go 1.18.
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.
nvd
CVE-2022-30634HIGHCVSS 7.5fixed in 1.17.11≥ 1.18.0, < 1.18.32022-07-15
CVE-2022-30634 [HIGH] CWE-835 CVE-2022-30634: Infinite loop in Read in crypto/rand before Go 1.17.11 and Go 1.18.3 on Windows allows attacker to c
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.
nvd
CVE-2022-29526MEDIUMCVSS 5.3fixed in 1.17.10≥ 1.18.0, < 1.18.22022-06-23
CVE-2022-29526 [MEDIUM] CWE-269 CVE-2022-29526: Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a no
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.
nvd
CVE-2022-27536HIGHCVSS 7.5≥ 1.18.0, < 1.18.12022-04-20
CVE-2022-27536 [HIGH] CWE-295 CVE-2022-27536: Certificate.Verify in crypto/x509 in Go 1.18.x before 1.18.1 can be caused to panic on macOS when pr
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.
nvd
CVE-2022-24675HIGHCVSS 7.5fixed in 1.17.9≥ 1.18.0, < 1.18.12022-04-20
CVE-2022-24675 [HIGH] CWE-674 CVE-2022-24675: encoding/pem in Go before 1.17.9 and 1.18.x before 1.18.1 has a Decode stack overflow via a large am
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.
nvd
CVE-2022-28327HIGHCVSS 7.5fixed in 1.17.9≥ 1.18.0, < 1.18.12022-04-20
CVE-2022-28327 [HIGH] CVE-2022-28327: The generic P-256 feature in crypto/elliptic in Go before 1.17.9 and 1.18.x before 1.18.1 allows a p
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.
nvd