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 6 of 8
CVE-2021-27918HIGHCVSS 7.5fixed in 1.15.9≥ 1.16.0, < 1.16.12021-03-11
CVE-2021-27918 [HIGH] CWE-835 CVE-2021-27918: encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1 has an infinite loop if a custom TokenRead 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.
nvd
CVE-2021-27919MEDIUMCVSS 5.5≥ 1.16.0, < 1.16.12021-03-11
CVE-2021-27919 [MEDIUM] CVE-2021-27919: archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon at 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.
nvd
CVE-2021-3115HIGHCVSS 7.5fixed in 1.14.14≥ 1.15, < 1.15.72021-01-26
CVE-2021-3115 [HIGH] CWE-427 CVE-2021-3115: Go before 1.14.14 and 1.15.x before 1.15.7 on Windows is vulnerable to Command Injection and remote 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).
nvd
CVE-2021-3114MEDIUMCVSS 6.5fixed in 1.14.14≥ 1.15, < 1.15.72021-01-26
CVE-2021-3114 [MEDIUM] CWE-682 CVE-2021-3114: In Go before 1.14.14 and 1.15.x before 1.15.7, crypto/elliptic/p224.go can generate incorrect output 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.
nvd
CVE-2020-28851HIGHCVSS 7.5v1.15.42021-01-02
CVE-2020-28851 [HIGH] CWE-129 CVE-2020-28851: In x/text in Go 1.15.4, an "index out of range" panic occurs in language.ParseAcceptLanguage while p In x/text in Go 1.15.4, an "index out of range" panic occurs in language.ParseAcceptLanguage while parsing the -u- extension. (x/text/language is supposed to be able to parse an HTTP Accept-Language header.)
nvd
CVE-2020-29509MEDIUMCVSS 5.6fixed in 1.17vAll versions2020-12-14
CVE-2020-29509 [MEDIUM] CWE-115 CVE-2020-29509: The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute 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.
cvelistv5nvd
CVE-2020-29510MEDIUMCVSS 5.6≤ 1.15≥ unspecified, ≤ 1.152020-12-14
CVE-2020-29510 [MEDIUM] CWE-115 CVE-2020-29510: The encoding/xml package in Go versions 1.15 and earlier does not correctly preserve the semantics o 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.
cvelistv5nvd
CVE-2020-29511MEDIUMCVSS 5.6fixed in 1.17vAll versions2020-12-14
CVE-2020-29511 [MEDIUM] CWE-115 CVE-2020-29511: The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element n 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.
cvelistv5nvd
CVE-2020-28362HIGHCVSS 7.5fixed in 1.14.12≥ 1.15, < 1.15.52020-11-18
CVE-2020-28362 [HIGH] CWE-295 CVE-2020-28362: Go before 1.14.12 and 1.15.x before 1.15.4 allows Denial of Service. Go before 1.14.12 and 1.15.x before 1.15.4 allows Denial of Service.
nvd
CVE-2020-28366HIGHCVSS 7.5fixed in 1.14.12≥ 1.15, < 1.15.52020-11-18
CVE-2020-28366 [HIGH] CWE-94 CVE-2020-28366: Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code exec 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.
nvd
CVE-2020-28367HIGHCVSS 7.5fixed in 1.14.12≥ 1.15, < 1.15.52020-11-18
CVE-2020-28367 [HIGH] CWE-94 CVE-2020-28367: Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code exec 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.
nvd
CVE-2020-24553MEDIUMCVSS 6.1fixed in 1.14.8≥ 1.15.0, < 1.15.12020-09-02
CVE-2020-24553 [MEDIUM] CWE-79 CVE-2020-24553: Go before 1.14.8 and 1.15.x before 1.15.1 allows XSS because text/html is the default for CGI/FCGI h 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.
nvd
CVE-2020-16845HIGHCVSS 7.5fixed in 1.13.15≥ 1.14, < 1.14.72020-08-06
CVE-2020-16845 [HIGH] CWE-835 CVE-2020-16845: Go before 1.13.15 and 14.x before 1.14.7 can have an infinite read loop in ReadUvarint and ReadVarin 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.
nvd
CVE-2020-14039MEDIUMCVSS 5.3fixed in 1.13.13≥ 1.14.0, < 1.14.52020-07-17
CVE-2020-14039 [MEDIUM] CWE-295 CVE-2020-14039: In Go before 1.13.13 and 1.14.x before 1.14.5, Certificate.Verify may lack a check on the VerifyOpti 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.
nvd
CVE-2020-15586MEDIUMCVSS 5.9fixed in 1.13.13≥ 1.14.0, < 1.14.52020-07-17
CVE-2020-15586 [MEDIUM] CWE-362 CVE-2020-15586: Go before 1.13.13 and 1.14.x before 1.14.5 has a data race in some net/http servers, as demonstrated 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.
nvd
CVE-2020-7919HIGHCVSS 7.5≥ 1.12, < 1.12.6≥ 1.13, < 1.13.72020-03-16
CVE-2020-7919 [HIGH] CWE-295 CVE-2020-7919: Go before 1.12.16 and 1.13.x before 1.13.7 (and the crypto/cryptobyte package before 0.0.0-202001242 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.
nvd
CVE-2015-5741CRITICALCVSS 9.8fixed in 1.4.32020-02-08
CVE-2015-5741 [CRITICAL] CWE-444 CVE-2015-5741: The net/http library in net/http/transfer.go in Go before 1.4.3 does not properly parse HTTP headers 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.
nvd
CVE-2020-0601HIGHCVSS 8.1KEVPoC≥ 1.12, < 1.12.16≥ 1.13, < 1.13.72020-01-14
CVE-2020-0601 [HIGH] CWE-295 CVE-2020-0601: A spoofing vulnerability exists in the way Windows CryptoAPI (Crypt32.dll) validates Elliptic Curve 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 Vulnera
nvd
CVE-2019-17596HIGHCVSS 7.5≥ 1.12, < 1.12.11≥ 1.13, < 1.13.22019-10-24
CVE-2019-17596 [HIGH] CWE-436 CVE-2019-17596: Go before 1.12.11 and 1.3.x before 1.13.2 can panic upon an attempt to process network traffic conta 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.
nvd
CVE-2019-16276HIGHCVSS 7.5fixed in 1.12.10≥ 1.13, < 1.13.12019-09-30
CVE-2019-16276 [HIGH] CWE-444 CVE-2019-16276: Go before 1.12.10 and 1.13.x before 1.13.1 allow HTTP Request Smuggling. Go before 1.12.10 and 1.13.x before 1.13.1 allow HTTP Request Smuggling.
nvd