資安漏洞

最後更新


依公布年份列出 Go 官方漏洞資料庫(vuln.go.dev)中影響標準庫(stdlib)與工具鏈(toolchain)的所有漏洞;摘要為官方原文,「修正於」是各版本系列中第一個修正它的版本。
想知道某個版本受哪些漏洞影響,請看該版本頁的「已知漏洞」,或在專案中執行 govulncheck ./...。

社群資安討論(Hacker News)


近一年 Hacker News 上與 Go 資安相關的討論,依日期排序;有對應官方漏洞編號的會一併列出。標題與連結為原文,內容以官方公告為準。

2026


編號CVE範圍摘要(官方原文)修正於
GO-2026-6859CVE-2026-97054net/httpHTTP/1 server crash due to MaxBytesReader header race in net/httpgo1.26.11、go1.27.4
GO-2026-6858CVE-2026-97033cmd/goUnexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags in cmd/gogo1.26.11、go1.27.4
GO-2026-6857CVE-2026-97034cmd/goArbitrary command execution via GCC spec files in cgo linker search directories in cmd/gogo1.26.11、go1.27.4
GO-2026-6856CVE-2026-97035cmd/goUnexpected code execution and arbitrary file write via Clang -gen-* and GCC -gnat* flags in cgo in cmd/gogo1.26.11、go1.27.4
GO-2026-6855CVE-2026-97036cmd/goArbitrary code execution during build on darwin via "-l to_library" in cgo in cmd/gogo1.26.11、go1.27.4
GO-2026-6854CVE-2026-97037cmd/goLinker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/gogo1.26.11、go1.27.4
GO-2026-6853CVE-2026-97038cmd/goArbitrary code execution via crafted .syso files and cgo linker input files in cmd/gogo1.26.11、go1.27.4
GO-2026-6852CVE-2026-97039cmd/goFlag sanitization bypass via "#cgo pkg-config:" directives in cmd/gogo1.26.11、go1.27.4
GO-2026-6851CVE-2026-97040cmd/go、cmd/linkCgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/linkgo1.26.11、go1.27.4
GO-2026-6850CVE-2026-97041cmd/compile、cmd/linkHost linker flag injection via //go:cgo_* directives in cmd/compile and cmd/linkgo1.26.11、go1.27.4
GO-2026-6849CVE-2026-97042cmd/cgo、cmd/compile、cmd/linkLinker flag injection via cgo_import_dynamic and PE DLL names in cmd/cgo, cmd/compile, and cmd/linkgo1.26.11、go1.27.4
GO-2026-6848CVE-2026-97043cmd/go、cmd/compileUnexpected code execution via escaped quotes in //go:cgo_ldflag in cmd/go and cmd/compilego1.26.11、go1.27.4
GO-2026-6809CVE-2026-111943crypto/x509Distrust compromised intermediate certificates in crypto/x509go1.26.10、go1.27.3
GO-2026-6617CVE-2026-97032net/http、net/http/internal/http2HTTP/2 server crash due to HPACK encoder race in net/httpgo1.26.9、go1.27.2
GO-2026-6617CVE-2026-97032net/http、net/http/internal/http2HTTP/2 server crash due to HPACK encoder race in net/httpgo1.26.9、go1.27.2
GO-2026-6613CVE-2026-94439net/httpHTTP/1 server connection desynchronization after 2xx CONNECT response in net/httpgo1.26.9、go1.27.2
GO-2026-6612CVE-2026-78663net/http、net/http/internal/http2Double flow control refund on HTTP/2 server streams in net/httpgo1.26.9、go1.27.2
GO-2026-6612CVE-2026-78663net/http、net/http/internal/http2Double flow control refund on HTTP/2 server streams in net/httpgo1.26.9、go1.27.2
GO-2026-6611CVE-2026-78669net/http、net/http/internal/http2Excessive CPU consumption from repeated initial window changes in net/httpgo1.26.9、go1.27.2
GO-2026-6611CVE-2026-78669net/http、net/http/internal/http2Excessive CPU consumption from repeated initial window changes in net/httpgo1.26.9、go1.27.2
GO-2026-6610CVE-2026-78660net/http、net/http/internal/http2HTTP/2 transport accepts malformed framing-related headers in net/httpgo1.26.9、go1.27.2
GO-2026-6610CVE-2026-78660net/http、net/http/internal/http2HTTP/2 transport accepts malformed framing-related headers in net/httpgo1.26.9、go1.27.2
GO-2026-6609CVE-2026-78667net/httpLack of limit on size of parsed Range headers in net/httpgo1.26.9、go1.27.2
GO-2026-6608CVE-2026-94440net/textproto、mime/multipartMemory limit bypass when parsing MIME headers in net/textproto, mime/multipartgo1.26.9、go1.27.2
GO-2026-6607CVE-2026-97031crypto/tlsReject malformed ECH outer extension references in crypto/tlsgo1.26.9、go1.27.2
GO-2026-6605CVE-2026-56866net/http、net/http/httputilHTTP/1 client connection desynchronization after CONNECT rejection in net/httpgo1.26.9、go1.27.2
GO-2026-6604CVE-2026-56857os、internal/syscall/windowsRoot.Mkdir(All) can follow junctions out of the root on Windows in osgo1.26.9、go1.27.2
GO-2026-6603CVE-2026-78659net/http、net/http/internal/http2HTTP/2 server memory exhaustion due to Trailer headers in net/httpgo1.26.9、go1.27.2
GO-2026-6603CVE-2026-78659net/http、net/http/internal/http2HTTP/2 server memory exhaustion due to Trailer headers in net/httpgo1.26.9、go1.27.2
GO-2026-6602CVE-2026-94447cmd/goChecksum database bypass for golang.org/toolchain in cmd/gogo1.26.9、go1.27.2
GO-2026-6601CVE-2026-94444cmd/goChecksum bypass for golang.org/fips140 in cmd/gogo1.26.9、go1.27.2
GO-2026-6600CVE-2026-97030html/templateRecognize yield as regexp preceder keyword in html/templatego1.26.9、go1.27.2
GO-2026-6599CVE-2026-94448html/templateReset context tracking on consecutive template expressions in html/templatego1.26.9、go1.27.2
GO-2026-6218CVE-2026-56860net/urlAvoid quadratic complexity in resolvePath in net/urlgo1.25.13、go1.26.6、go1.27.0-rc.3
GO-2026-6180CVE-2026-56864cmd/goIgnore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdbgo1.25.13、go1.26.6、go1.27.0-rc.3
GO-2026-6179CVE-2026-56865cmd/goFix transparency log tile verification bypass in golang.org/x/mod/sumdb/tloggo1.25.13、go1.26.6、go1.27.0-rc.3
GO-2026-6091CVE-2026-56858html/templateFix Javascript regexp context tracking in html/templatego1.25.13、go1.26.6、go1.27.0-rc.3
GO-2026-6090CVE-2026-56862crypto/tlsLimit handshake messages we are willing to accept post-handshake in crypto/tlsgo1.25.13、go1.26.6、go1.27.0-rc.3
GO-2026-6089CVE-2026-56853net/httpApply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/httpgo1.25.13、go1.26.6、go1.27.0-rc.3
GO-2026-6088CVE-2026-56859encoding/xmlAdd recursion depth guard during decode in encoding/xmlgo1.25.13、go1.26.6、go1.27.0-rc.3
GO-2026-5972CVE-2026-33818encoding/asn1Enforce maximum recursion depth in encoding/asn1go1.25.13、go1.26.6、go1.27.0-rc.3
GO-2026-5942CVE-2026-46600netParsing an invalid SVCB or HTTPS RR can panic in golang.org/x/net/dns/dnsmessagego1.26.6、go1.27.0-rc.3
GO-2026-5856CVE-2026-42505crypto/tlsInvoking Encrypted Client Hello privacy leak in crypto/tlsgo1.25.12、go1.26.5、go1.27.0-rc.2
GO-2026-5039CVE-2026-42507net/textprotoArbitrary inputs are included in errors without any escaping in net/textprotogo1.25.11、go1.26.4
GO-2026-5038CVE-2026-42504mimeQuadratic complexity in WordDecoder.DecodeHeader in mimego1.25.11、go1.26.4
GO-2026-5037CVE-2026-27145crypto/x509Inefficient candidate hostname parsing in crypto/x509go1.25.11、go1.26.4
GO-2026-5026CVE-2026-39821net/http、net/http/internal/http2Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idnago1.25.13、go1.26.6、go1.27.0-rc.3
GO-2026-4986CVE-2026-39820net/mailQuadratic string concatentation in consumeComment in net/mailgo1.25.10、go1.26.3
GO-2026-4984CVE-2026-42501cmd/goMalicious module proxy can bypass checksum database in cmd/gogo1.25.10、go1.26.3
GO-2026-4982CVE-2026-39823html/templateBypass of meta content URL escaping causes XSS in html/templatego1.25.10、go1.26.3
GO-2026-4981CVE-2026-33811netCrash when handling long CNAME response in netgo1.25.10、go1.26.3
GO-2026-4980CVE-2026-39826html/templateEscaper bypass leads to XSS in html/templatego1.25.10、go1.26.3
GO-2026-4979CVE-2026-39817cmd/goInvoking "go tool pack" does not sanitize output paths in cmd/gogo1.25.10、go1.26.3
GO-2026-4978CVE-2026-39819cmd/goInvoking "go bug" follows symlinks in predictable temporary filenames in cmd/gogo1.25.10、go1.26.3
GO-2026-4977CVE-2026-42499net/mailQuadratic string concatenation in consumePhrase in net/mailgo1.25.10、go1.26.3
GO-2026-4976CVE-2026-39825net/http/httputilReverseProxy forwards queries with more than urlmaxqueryparams parameters in net/http/httputilgo1.25.10、go1.26.3
GO-2026-4971CVE-2026-39836netPanic in Dial and LookupPort when handling NUL byte on Windows in netgo1.25.10、go1.26.3
GO-2026-4970CVE-2026-39822osRoot escape via symlink plus trailing slash in osgo1.25.12、go1.26.5、go1.27.0-rc.2
GO-2026-4947CVE-2026-32280crypto/x509Unexpected work during chain building in crypto/x509go1.25.9、go1.26.2
GO-2026-4946CVE-2026-32281crypto/x509Inefficient policy validation in crypto/x509go1.25.9、go1.26.2
GO-2026-4918CVE-2026-33814net/httpInfinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/netgo1.25.10、go1.26.3
GO-2026-4871CVE-2026-27140cmd/goCode execution vulnerability in SWIG code generation in cmd/gogo1.25.9、go1.26.2
GO-2026-4870CVE-2026-32283crypto/tlsUnauthenticated TLS 1.3 KeyUpdate record can cause persistent connection retention and DoS in crypto/tlsgo1.25.9、go1.26.2
GO-2026-4869CVE-2026-32288archive/tarUnbounded allocation for old GNU sparse in archive/targo1.25.9、go1.26.2
GO-2026-4868CVE-2026-27143cmd/compileMissing bound checks can lead to memory corruption in safe Go in cmd/compilego1.25.9、go1.26.2
GO-2026-4867CVE-2026-27144cmd/compileMiscompilation allows memory corruption via CONVNOP-wrapped array copy in cmd/compilego1.25.9、go1.26.2
GO-2026-4866CVE-2026-33810crypto/x509Case-sensitive excludedSubtrees name constraints cause Auth Bypass in crypto/x509go1.26.2
GO-2026-4865CVE-2026-32289html/templateJsBraceDepth Context Tracking Bugs (XSS) in html/templatego1.25.9、go1.26.2
GO-2026-4864CVE-2026-32282internal/syscall/unixTOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unixgo1.25.9、go1.26.2
GO-2026-4603CVE-2026-27142html/templateURLs in meta content attribute actions are not escaped in html/templatego1.25.8、go1.26.1
GO-2026-4602CVE-2026-27139osFileInfo can escape from a Root in osgo1.25.8、go1.26.1
GO-2026-4601CVE-2026-25679net/urlIncorrect parsing of IPv6 host literals in net/urlgo1.25.8、go1.26.1
GO-2026-4600CVE-2026-27138crypto/x509Panic in name constraint checking for malformed certificates in crypto/x509go1.26.1
GO-2026-4599CVE-2026-27137crypto/x509Incorrect enforcement of email constraints in crypto/x509go1.26.1
GO-2026-4433CVE-2025-61732cmd/cgoPotential code smuggling via doc comments in cmd/cgogo1.24.13、go1.25.7
GO-2026-4403CVE-2025-22873osImproper access to parent directory of root in osgo1.23.9、go1.24.3
GO-2026-4342CVE-2025-61728archive/zipExcessive CPU consumption when building archive index in archive/zipgo1.24.12、go1.25.6
GO-2026-4341CVE-2025-61726net/urlMemory exhaustion in query parameter parsing in net/urlgo1.24.12、go1.25.6
GO-2026-4340CVE-2025-61730crypto/tlsHandshake messages may be processed at the incorrect encryption level in crypto/tlsgo1.24.12、go1.25.6
GO-2026-4339CVE-2025-61731cmd/goArbitrary file write using cgo pkg-config directive in cmd/gogo1.24.12、go1.25.6
GO-2026-4338CVE-2025-68119cmd/goUnexpected code execution when invoking toolchain in cmd/gogo1.24.13、go1.25.6
GO-2026-4337CVE-2025-68121crypto/tlsUnexpected session resumption in crypto/tlsgo1.24.13、go1.25.7、go1.26.0-rc.3

2025


編號CVE範圍摘要(官方原文)修正於
GO-2025-4175CVE-2025-61727crypto/x509Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509go1.24.11、go1.25.5
GO-2025-4155CVE-2025-61729crypto/x509Excessive resource consumption when printing error string for host certificate validation in crypto/x509go1.24.11、go1.25.5
GO-2025-4015CVE-2025-61724net/textprotoExcessive CPU consumption in Reader.ReadResponse in net/textprotogo1.24.8、go1.25.2
GO-2025-4014CVE-2025-58183archive/tarUnbounded allocation when parsing GNU sparse map in archive/targo1.24.8、go1.25.2
GO-2025-4013CVE-2025-58188crypto/x509Panic when validating certificates with DSA public keys in crypto/x509go1.24.8、go1.25.2
GO-2025-4012CVE-2025-58186net/httpLack of limit when parsing cookies can cause memory exhaustion in net/httpgo1.24.8、go1.25.2
GO-2025-4011CVE-2025-58185encoding/asn1Parsing DER payload can cause memory exhaustion in encoding/asn1go1.24.8、go1.25.2
GO-2025-4010CVE-2025-47912net/urlInsufficient validation of bracketed IPv6 hostnames in net/urlgo1.24.8、go1.25.2
GO-2025-4009CVE-2025-61723encoding/pemQuadratic complexity when parsing some invalid inputs in encoding/pemgo1.24.8、go1.25.2
GO-2025-4008CVE-2025-58189crypto/tlsALPN negotiation error contains attacker controlled information in crypto/tlsgo1.24.8、go1.25.2
GO-2025-4007CVE-2025-58187crypto/x509Quadratic complexity when checking name constraints in crypto/x509go1.24.9、go1.25.3
GO-2025-4006CVE-2025-61725net/mailExcessive CPU consumption in ParseAddress in net/mailgo1.24.8、go1.25.2
GO-2025-3956CVE-2025-47906os/execUnexpected paths returned from LookPath in os/execgo1.23.12、go1.24.6
GO-2025-3955CVE-2025-47910net/httpCrossOriginProtection insecure bypass patterns not limited to exact matches in net/httpgo1.25.1
GO-2025-3849CVE-2025-47907database/sqlIncorrect results returned from Rows.Scan in database/sqlgo1.23.12、go1.24.6
GO-2025-3828CVE-2025-4674cmd/goUnexpected command execution in untrusted VCS repositories in cmd/gogo1.23.11、go1.24.5
GO-2025-3751CVE-2025-4673net/httpSensitive headers not cleared on cross-origin redirect in net/httpgo1.23.10、go1.24.4
GO-2025-3750CVE-2025-0913syscall、osInconsistent handling of O_CREATE|O_EXCL on Unix and Windows in os in syscallgo1.23.10、go1.24.4
GO-2025-3749CVE-2025-22874crypto/x509Usage of ExtKeyUsageAny disables policy validation in crypto/x509go1.24.4
GO-2025-3563CVE-2025-22871net/http/internalRequest smuggling due to acceptance of invalid chunked data in net/httpgo1.23.8、go1.24.2
GO-2025-3503CVE-2025-22870net/httpHTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/netgo1.23.7、go1.24.1
GO-2025-3447CVE-2025-22866crypto/internal/nistecTiming sidechannel for P-256 on ppc64le in crypto/internal/nistecgo1.22.12、go1.23.6、go1.24.0-rc.3
GO-2025-3428CVE-2025-22867cmd/goArbitrary code execution during build on darwin in cmd/gogo1.24.0-rc.3
GO-2025-3421CVE-2025-22865crypto/x509ParsePKCS1PrivateKey panic with partial keys in crypto/x509go1.24.0-rc.2
GO-2025-3420CVE-2024-45336net/httpSensitive headers incorrectly sent after cross-domain redirect in net/httpgo1.22.11、go1.23.5、go1.24.0-rc.2
GO-2025-3383CVE-2024-45340cmd/goGOAUTH credential leak in cmd/gogo1.24.0-rc.2
GO-2025-3373CVE-2024-45341crypto/x509Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509go1.22.11、go1.23.5、go1.24.0-rc.2

2024


編號CVE範圍摘要(官方原文)修正於
GO-2024-3107CVE-2024-34158go/build/constraintStack exhaustion in Parse in go/build/constraintgo1.22.7、go1.23.1
GO-2024-3106CVE-2024-34156encoding/gobStack exhaustion in Decoder.Decode in encoding/gobgo1.22.7、go1.23.1
GO-2024-3105CVE-2024-34155go/parserStack exhaustion in all Parse functions in go/parsergo1.22.7、go1.23.1
GO-2024-2963CVE-2024-24791net/httpDenial of service due to improper 100-continue handling in net/httpgo1.21.12、go1.22.5
GO-2024-2962CVE-2023-24531cmd/goOutput of "go env" does not sanitize values in cmd/gogo1.21.0-0
GO-2024-2888CVE-2024-24789archive/zipMishandling of corrupt central directory record in archive/zipgo1.21.11、go1.22.4
GO-2024-2887CVE-2024-24790net/netipUnexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netipgo1.21.11、go1.22.4
GO-2024-2825CVE-2024-24787cmd/goArbitrary code execution during build on Darwin in cmd/gogo1.21.10、go1.22.3
GO-2024-2824CVE-2024-24788netMalformed DNS message can cause infinite loop in netgo1.22.3
GO-2024-2687CVE-2023-45288net/httpHTTP/2 CONTINUATION flood in net/httpgo1.21.9、go1.22.2
GO-2024-2610CVE-2024-24785html/templateErrors returned from JSON marshaling may break template escaping in html/templatego1.21.8、go1.22.1
GO-2024-2609CVE-2024-24784net/mailComments in display names are incorrectly handled in net/mailgo1.21.8、go1.22.1
GO-2024-2600CVE-2023-45289net/http、net/http/cookiejarIncorrect forwarding of sensitive headers and cookies on HTTP redirect in net/httpgo1.21.8、go1.22.1
GO-2024-2599CVE-2023-45290net/textprotoMemory exhaustion in multipart form parsing in net/textproto and net/httpgo1.21.8、go1.22.1
GO-2024-2598CVE-2024-24783crypto/x509Verify panics on certificates with an unknown public key algorithm in crypto/x509go1.21.8、go1.22.1

2023


編號CVE範圍摘要(官方原文)修正於
GO-2023-2383CVE-2023-45285cmd/goCommand 'go get' may unexpectedly fallback to insecure git in cmd/gogo1.20.12、go1.21.5
GO-2023-2382CVE-2023-39326net/http/internalDenial of service via chunk extensions in net/httpgo1.20.12、go1.21.5
GO-2023-2375CVE-2023-45287crypto/tlsBefore Go 1.20, the RSA based key exchange methods in crypto/tls may exhibit a timing side channelgo1.20.0
GO-2023-2186CVE-2023-45284path/filepathIncorrect detection of reserved device names on Windows in path/filepathgo1.20.11、go1.21.4
GO-2023-2185CVE-2023-45283path/filepath、internal/safefilepathInsecure parsing of Windows paths with a ??\ prefix in path/filepathgo1.20.11、go1.21.4、go1.20.12、go1.21.5
GO-2023-2185CVE-2023-45283path/filepath、internal/safefilepathInsecure parsing of Windows paths with a ??\ prefix in path/filepathgo1.20.11、go1.21.4、go1.20.12、go1.21.5
GO-2023-2102CVE-2023-39325net/httpHTTP/2 rapid reset can cause excessive work in net/httpgo1.20.10、go1.21.3
GO-2023-2095CVE-2023-39323cmd/goArbitrary code execution during build via line directives in cmd/gogo1.20.9、go1.21.2
GO-2023-2045CVE-2023-39322crypto/tlsMemory exhaustion in QUIC connection handling in crypto/tlsgo1.21.1
GO-2023-2044CVE-2023-39321crypto/tlsPanic when processing post-handshake message on QUIC connections in crypto/tlsgo1.21.1
GO-2023-2043CVE-2023-39319html/templateImproper handling of special tags within script contexts in html/templatego1.20.8、go1.21.1
GO-2023-2042CVE-2023-39320cmd/goArbitrary code execution via go.mod toolchain directive in cmd/gogo1.21.1
GO-2023-2041CVE-2023-39318html/templateImproper handling of HTML-like comments in script contexts in html/templatego1.20.8、go1.21.1
GO-2023-1987CVE-2023-29409crypto/tlsLarge RSA keys can cause high CPU usage in crypto/tlsgo1.19.12、go1.20.7、go1.21.0-rc.4
GO-2023-1878CVE-2023-29406net/httpInsufficient sanitization of Host header in net/httpgo1.19.11、go1.20.6
GO-2023-1842CVE-2023-29405cmd/go、cmd/cgoImproper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/gogo1.19.10、go1.20.5
GO-2023-1841CVE-2023-29404cmd/goImproper handling of non-optional LDFLAGS in go command with cgo in cmd/gogo1.19.10、go1.20.5
GO-2023-1840CVE-2023-29403runtimeUnsafe behavior in setuid/setgid binaries in runtimego1.19.10、go1.20.5
GO-2023-1839CVE-2023-29402cmd/goCode injection via go command with cgo in cmd/gogo1.19.10、go1.20.5
GO-2023-1753CVE-2023-29400html/templateImproper handling of empty HTML attributes in html/templatego1.19.9、go1.20.4
GO-2023-1752CVE-2023-24540html/templateImproper handling of JavaScript whitespace in html/templatego1.19.9、go1.20.4
GO-2023-1751CVE-2023-24539html/templateImproper sanitization of CSS values in html/templatego1.19.9、go1.20.4
GO-2023-1705CVE-2023-24536mime/multipart、net/textprotoExcessive resource consumption in net/http, net/textproto and mime/multipartgo1.19.8、go1.20.3
GO-2023-1704CVE-2023-24534net/textprotoExcessive memory allocation in net/http and net/textprotogo1.19.8、go1.20.3
GO-2023-1703CVE-2023-24538html/templateBackticks not treated as string delimiters in html/templatego1.19.8、go1.20.3
GO-2023-1702CVE-2023-24537go/scannerInfinite loop in parsing in go/scannergo1.19.8、go1.20.3
GO-2023-1621CVE-2023-24532crypto/internal/nistecIncorrect calculation on P256 curves in crypto/internal/nistecgo1.19.7、go1.20.2
GO-2023-1571CVE-2022-41723net/httpDenial of service via crafted HTTP/2 stream in net/http and golang.org/x/netgo1.19.6、go1.20.1
GO-2023-1570CVE-2022-41724crypto/tlsPanic on large handshake records in crypto/tlsgo1.19.6、go1.20.1
GO-2023-1569CVE-2022-41725mime/multipartExcessive resource consumption in mime/multipartgo1.19.6、go1.20.1
GO-2023-1568CVE-2022-41722path/filepathPath traversal on Windows in path/filepathgo1.19.6、go1.20.1

2022


編號CVE範圍摘要(官方原文)修正於
GO-2022-1144CVE-2022-41717net/httpExcessive memory growth in net/http and golang.org/x/net/http2go1.18.9、go1.19.4
GO-2022-1143CVE-2022-41720os、net/httpRestricted file access on Windows in os and net/httpgo1.18.9、go1.19.4
GO-2022-1095CVE-2022-41716syscall、os/execUnsanitized NUL in environment variables on Windows in syscall and os/execgo1.18.8、go1.19.3
GO-2022-1039CVE-2022-41715regexp/syntaxMemory exhaustion when compiling regular expressions in regexp/syntaxgo1.18.7、go1.19.2
GO-2022-1038CVE-2022-2880net/http/httputilIncorrect sanitization of forwarded query parameters in net/http/httputilgo1.18.7、go1.19.2
GO-2022-1037CVE-2022-2879archive/tarUnbounded memory consumption when reading headers in archive/targo1.18.7、go1.19.2
GO-2022-0988CVE-2022-32190net/urlFailure to strip relative path components in net/urlgo1.19.1
GO-2022-0969CVE-2022-27664net/httpDenial of service in net/http and golang.org/x/net/http2go1.18.6、go1.19.1
GO-2022-0761CVE-2016-5386net/http、net/http/cgiImproper input validation in net/http and net/http/cgigo1.6.3
GO-2022-0537CVE-2022-32189math/bigPanic when decoding Float and Rat types in math/biggo1.17.13、go1.18.5
GO-2022-0536CVE-2019-9512net/httpReset flood in net/http and golang.org/x/net/httpgo1.11.13、go1.12.8
GO-2022-0535CVE-2020-0601crypto/x509Certificate validation bypass on Windows in crypto/x509go1.12.16、go1.13.7
GO-2022-0533CVE-2022-29804path/filepathPath traversal via Clean on Windows in path/filepathgo1.17.11、go1.18.3
GO-2022-0532CVE-2022-30580os/execEmpty Cmd.Path can trigger unintended binary in os/exec on Windowsgo1.17.11、go1.18.3
GO-2022-0531CVE-2022-30629crypto/tlsSession tickets lack random ticket_age_add in crypto/tlsgo1.17.11、go1.18.3
GO-2022-0527CVE-2022-30630io/fsStack exhaustion in Glob on certain paths in io/fsgo1.17.12、go1.18.4
GO-2022-0526CVE-2022-30635encoding/gobStack exhaustion when decoding certain messages in encoding/gobgo1.17.12、go1.18.4
GO-2022-0525CVE-2022-1705net/httpImproper sanitization of Transfer-Encoding headers in net/httpgo1.17.12、go1.18.4
GO-2022-0524CVE-2022-30631compress/gzipStack exhaustion when reading certain archives in compress/gzipgo1.17.12、go1.18.4
GO-2022-0523CVE-2022-30633encoding/xmlStack exhaustion when unmarshaling certain documents in encoding/xmlgo1.17.12、go1.18.4
GO-2022-0522CVE-2022-30632path/filepathStack exhaustion on crafted paths in path/filepathgo1.17.12、go1.18.4
GO-2022-0521CVE-2022-28131encoding/xmlStack exhaustion from deeply nested XML documents in encoding/xmlgo1.17.12、go1.18.4
GO-2022-0520CVE-2022-32148net/httpExposure of client IP addresses in net/httpgo1.17.12、go1.18.4
GO-2022-0515CVE-2022-1962go/parserStack exhaustion due to deeply nested types in go/parsergo1.17.12、go1.18.4
GO-2022-0493CVE-2022-29526syscallIncorrect privilege reporting in syscall and golang.org/x/sys/unixgo1.17.10、go1.18.2
GO-2022-0477CVE-2022-30634crypto/randIndefinite hang with large buffers on Windows in crypto/randgo1.17.11、go1.18.3
GO-2022-0476CVE-2020-28367cmd/goArbitrary code execution via the go command with cgo in cmd/gogo1.14.12、go1.15.5
GO-2022-0475CVE-2020-28366cmd/go、cmd/cgoArbitrary code execution in go command with cgo in cmd/go and cmd/cgogo1.14.12、go1.15.5
GO-2022-0435CVE-2022-28327crypto/ellipticPanic due to large inputs affecting P-256 curves in crypto/ellipticgo1.17.9、go1.18.1
GO-2022-0434CVE-2022-27536crypto/x509Panic during certificate parsing on Darwin in crypto/x509go1.18.1
GO-2022-0433CVE-2022-24675encoding/pemStack overflow from a large amount of PEM data in encoding/pemgo1.17.9、go1.18.1
GO-2022-0318CVE-2022-23773cmd/go/internal/modfetchIncorrect access control in the go command in cmd/go/internal/modfetchgo1.16.14、go1.17.7
GO-2022-0289CVE-2021-44717syscallMisdirected I/O in syscallgo1.16.12、go1.17.5
GO-2022-0288CVE-2021-44716net/httpUnbounded memory growth in net/http and golang.org/x/net/http2go1.16.12、go1.17.5
GO-2022-0273CVE-2021-39293archive/zipPanic due to crafted inputs in archive/zipgo1.16.8、go1.17.1
GO-2022-0247CVE-2021-38297cmd/linkBuffer overflow in WASM modules in misc/wasm and cmd/linkgo1.16.9、go1.17.2
GO-2022-0236CVE-2021-31525net/httpPanic due to large headers in net/http and golang.org/x/net/http/httpgutsgo1.15.12、go1.16.4
GO-2022-0229CVE-2020-7919crypto/x509Panic in certificate parsing in crypto/x509 and golang.org/x/crypto/cryptobytego1.12.16、go1.13.7
GO-2022-0220CVE-2019-9634runtime、syscallDLL injection on Windows in runtime and syscallgo1.11.10、go1.12.2
GO-2022-0217CVE-2019-6486crypto/ellipticDenial of service affecting P-521 and P-384 curves in crypto/ellipticgo1.10.8、go1.11.5
GO-2022-0213CVE-2019-17596crypto/dsaPanic on invalid DSA public keys in crypto/dsago1.12.11、go1.13.2
GO-2022-0212CVE-2019-16276net/textprotoRequest smuggling due to accepting invalid headers in net/http via net/textprotogo1.12.10、go1.13.1
GO-2022-0211CVE-2019-14809net/urlIncorrect parsing validation in net/urlgo1.11.13、go1.12.8
GO-2022-0203CVE-2018-7187cmd/goRemote command execution via "go get" command with "-insecure" option in cmd/gogo1.9.5、go1.10.1
GO-2022-0201CVE-2018-6574cmd/goRemote command execution via "go get" command with cgo in cmd/gogo1.8.7、go1.9.4
GO-2022-0191CVE-2018-16875crypto/x509Denial of service in chain verification in crypto/x509go1.10.6、go1.11.3
GO-2022-0190CVE-2018-16874cmd/go/internal/getDirectory traversal via "go get" command in cmd/gogo1.10.6、go1.11.3
GO-2022-0189CVE-2018-16873cmd/go/internal/getRemote command execution via "go get" with "-u" flag in cmd/gogo1.10.6、go1.11.3
GO-2022-0187CVE-2017-8932crypto/ellipticIncorrect computation for P-256 curves in crypto/ellipticgo1.7.6、go1.8.2
GO-2022-0177CVE-2017-15041cmd/goRemote command execution via "go get" in cmd/gogo1.8.4、go1.9.1
GO-2022-0171CVE-2017-1000097crypto/x509Mishandled trust preferences for root certificates on Darwin in crypto/x509go1.6.4、go1.7.4
GO-2022-0166CVE-2016-3959crypto/dsaDenial of service due to unchecked parameters in crypto/dsago1.5.4、go1.6.1
GO-2021-0347CVE-2022-24921regexpStack exhaustion when compiling deeply nested expressions in regexpgo1.16.15、go1.17.8
GO-2021-0319CVE-2022-23806crypto/ellipticIncorrect computation for some invalid field elements in crypto/ellipticgo1.16.14、go1.17.7
GO-2021-0317CVE-2022-23772math/bigUncontrolled memory consumption in math/biggo1.16.14、go1.17.7
GO-2021-0264CVE-2021-41772archive/zipPanic when opening certain archives in archive/zipgo1.16.10、go1.17.3
GO-2021-0263CVE-2021-41771debug/machoPanic on invalid symbol tables in debug/machogo1.16.10、go1.17.3
GO-2021-0245CVE-2021-36221net/http/httputilPanic in ReverseProxy in net/http/httputilgo1.15.15、go1.16.7
GO-2021-0243CVE-2021-34558crypto/tlsPanic on certain certificates in crypto/tlsgo1.15.14、go1.16.6
GO-2021-0242CVE-2021-33198math/bigPanic on inputs with large exponents in math/biggo1.15.13、go1.16.5
GO-2021-0241CVE-2021-33197net/http/httputilAttacker can drop certain headers in net/http/httputilgo1.15.13、go1.16.5
GO-2021-0240CVE-2021-33196archive/zipPanic when reading certain archives in archive/zipgo1.15.13、go1.16.5
GO-2021-0239CVE-2021-33195netImproper sanitization when resolving values from DNS in netgo1.15.13、go1.16.5
GO-2021-0235CVE-2021-3114crypto/ellipticIncorrect operations on the P-224 curve in crypto/ellipticgo1.14.14、go1.15.7
GO-2021-0234CVE-2021-27918encoding/xmlInfinite loop when decoding inputs in encoding/xmlgo1.15.9、go1.16.1
GO-2021-0226CVE-2020-24553net/http/cgi、net/http/fcgiCross-site scripting in net/http/cgi and net/http/fcgigo1.14.8、go1.15.1
GO-2021-0224CVE-2020-15586net/httpData race and crash in net/httpgo1.13.13、go1.14.5
GO-2021-0223CVE-2020-14039crypto/x509Certificate verification error on Windows in crypto/x509go1.13.13、go1.14.5
GO-2021-0178CVE-2017-15042net/smtpCleartext transmission of credentials in net/smtpgo1.8.4、go1.9.1
GO-2021-0172CVE-2017-1000098mime/multipartDenial of service when parsing large forms in mime/multipartgo1.6.4、go1.7.4
GO-2021-0163CVE-2016-3958syscallPrivilege escalation on Windows via malicious DLL in syscallgo1.5.4、go1.6.1
GO-2021-0160CVE-2015-8618math/bigIncorrect calculation affecting RSA computations in math/biggo1.5.3
GO-2021-0159CVE-2015-5739net/httpRequest smuggling due to improper header parsing in net/httpgo1.4.3
GO-2021-0154CVE-2014-7189crypto/tlsMan-in-the-middle attack with SessionTicketsDisabled in crypto/tlsgo1.3.2
GO-2021-0142CVE-2020-16845encoding/binaryUnbounded read from invalid inputs in encoding/binarygo1.13.15、go1.14.7

2021


編號CVE範圍摘要(官方原文)修正於
GO-2021-0069CVE-2020-28362math/bigPanic during division of very large numbers in math/biggo1.14.12、go1.15.5
GO-2021-0068CVE-2021-3115cmd/goArbitrary code injection via the go command with cgo on Windows in cmd/gogo1.14.14、go1.15.7
GO-2021-0067CVE-2021-27919archive/zipPanic when opening archives in archive/zipgo1.16.1

資料來源