資安漏洞
最後更新
依公布年份列出 Go 官方漏洞資料庫(vuln.go.dev)中影響標準庫(stdlib)與工具鏈(toolchain)的所有漏洞;摘要為官方原文,「修正於」是各版本系列中第一個修正它的版本。
想知道某個版本受哪些漏洞影響,請看該版本頁的「已知漏洞」,或在專案中執行
govulncheck ./...。社群資安討論(Hacker News)
近一年 Hacker News 上與 Go 資安相關的討論,依日期排序;有對應官方漏洞編號的會一併列出。標題與連結為原文,內容以官方公告為準。
| 日期 | 標題 | 分數/留言 | 官方編號 |
|---|---|---|---|
| 2026-10-31 | Go programs are vulnerable to CVE-2026-98432 (Linux RCE)(討論) | 13/0 | CVE-2026-98432 |
| 2026-10-30 | Go programs enable MPTCP by default, exposing them to Linux CVE-2026-98432(討論) | 20/6 | CVE-2026-98432 |
| 2026-10-30 | Go program are vulnerable to CVE-2026-98432 (Linux TCP Use-After-Free)(討論) | 6/2 | CVE-2026-98432 |
| 2026-10-20 | Go will reject certificate chains containing eight distrusted SPKIs(討論) | 139/80 | - |
| 2026-06-06 | Fooling Go's X.509 Certificate Verification(討論) | 58/30 | - |
| 2026-05-25 | My minimal, memory-safe Go rsync steers clear of vulnerabilities(討論) | 11/3 | - |
2026
| 編號 | CVE | 範圍 | 摘要(官方原文) | 修正於 |
|---|---|---|---|---|
| GO-2026-6859 | CVE-2026-97054 | net/http | HTTP/1 server crash due to MaxBytesReader header race in net/http | go1.26.11、go1.27.4 |
| GO-2026-6858 | CVE-2026-97033 | cmd/go | Unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags in cmd/go | go1.26.11、go1.27.4 |
| GO-2026-6857 | CVE-2026-97034 | cmd/go | Arbitrary command execution via GCC spec files in cgo linker search directories in cmd/go | go1.26.11、go1.27.4 |
| GO-2026-6856 | CVE-2026-97035 | cmd/go | Unexpected code execution and arbitrary file write via Clang -gen-* and GCC -gnat* flags in cgo in cmd/go | go1.26.11、go1.27.4 |
| GO-2026-6855 | CVE-2026-97036 | cmd/go | Arbitrary code execution during build on darwin via "-l to_library" in cgo in cmd/go | go1.26.11、go1.27.4 |
| GO-2026-6854 | CVE-2026-97037 | cmd/go | Linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/go | go1.26.11、go1.27.4 |
| GO-2026-6853 | CVE-2026-97038 | cmd/go | Arbitrary code execution via crafted .syso files and cgo linker input files in cmd/go | go1.26.11、go1.27.4 |
| GO-2026-6852 | CVE-2026-97039 | cmd/go | Flag sanitization bypass via "#cgo pkg-config:" directives in cmd/go | go1.26.11、go1.27.4 |
| GO-2026-6851 | CVE-2026-97040 | cmd/go、cmd/link | Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link | go1.26.11、go1.27.4 |
| GO-2026-6850 | CVE-2026-97041 | cmd/compile、cmd/link | Host linker flag injection via //go:cgo_* directives in cmd/compile and cmd/link | go1.26.11、go1.27.4 |
| GO-2026-6849 | CVE-2026-97042 | cmd/cgo、cmd/compile、cmd/link | Linker flag injection via cgo_import_dynamic and PE DLL names in cmd/cgo, cmd/compile, and cmd/link | go1.26.11、go1.27.4 |
| GO-2026-6848 | CVE-2026-97043 | cmd/go、cmd/compile | Unexpected code execution via escaped quotes in //go:cgo_ldflag in cmd/go and cmd/compile | go1.26.11、go1.27.4 |
| GO-2026-6809 | CVE-2026-111943 | crypto/x509 | Distrust compromised intermediate certificates in crypto/x509 | go1.26.10、go1.27.3 |
| GO-2026-6617 | CVE-2026-97032 | net/http、net/http/internal/http2 | HTTP/2 server crash due to HPACK encoder race in net/http | go1.26.9、go1.27.2 |
| GO-2026-6617 | CVE-2026-97032 | net/http、net/http/internal/http2 | HTTP/2 server crash due to HPACK encoder race in net/http | go1.26.9、go1.27.2 |
| GO-2026-6613 | CVE-2026-94439 | net/http | HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http | go1.26.9、go1.27.2 |
| GO-2026-6612 | CVE-2026-78663 | net/http、net/http/internal/http2 | Double flow control refund on HTTP/2 server streams in net/http | go1.26.9、go1.27.2 |
| GO-2026-6612 | CVE-2026-78663 | net/http、net/http/internal/http2 | Double flow control refund on HTTP/2 server streams in net/http | go1.26.9、go1.27.2 |
| GO-2026-6611 | CVE-2026-78669 | net/http、net/http/internal/http2 | Excessive CPU consumption from repeated initial window changes in net/http | go1.26.9、go1.27.2 |
| GO-2026-6611 | CVE-2026-78669 | net/http、net/http/internal/http2 | Excessive CPU consumption from repeated initial window changes in net/http | go1.26.9、go1.27.2 |
| GO-2026-6610 | CVE-2026-78660 | net/http、net/http/internal/http2 | HTTP/2 transport accepts malformed framing-related headers in net/http | go1.26.9、go1.27.2 |
| GO-2026-6610 | CVE-2026-78660 | net/http、net/http/internal/http2 | HTTP/2 transport accepts malformed framing-related headers in net/http | go1.26.9、go1.27.2 |
| GO-2026-6609 | CVE-2026-78667 | net/http | Lack of limit on size of parsed Range headers in net/http | go1.26.9、go1.27.2 |
| GO-2026-6608 | CVE-2026-94440 | net/textproto、mime/multipart | Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart | go1.26.9、go1.27.2 |
| GO-2026-6607 | CVE-2026-97031 | crypto/tls | Reject malformed ECH outer extension references in crypto/tls | go1.26.9、go1.27.2 |
| GO-2026-6605 | CVE-2026-56866 | net/http、net/http/httputil | HTTP/1 client connection desynchronization after CONNECT rejection in net/http | go1.26.9、go1.27.2 |
| GO-2026-6604 | CVE-2026-56857 | os、internal/syscall/windows | Root.Mkdir(All) can follow junctions out of the root on Windows in os | go1.26.9、go1.27.2 |
| GO-2026-6603 | CVE-2026-78659 | net/http、net/http/internal/http2 | HTTP/2 server memory exhaustion due to Trailer headers in net/http | go1.26.9、go1.27.2 |
| GO-2026-6603 | CVE-2026-78659 | net/http、net/http/internal/http2 | HTTP/2 server memory exhaustion due to Trailer headers in net/http | go1.26.9、go1.27.2 |
| GO-2026-6602 | CVE-2026-94447 | cmd/go | Checksum database bypass for golang.org/toolchain in cmd/go | go1.26.9、go1.27.2 |
| GO-2026-6601 | CVE-2026-94444 | cmd/go | Checksum bypass for golang.org/fips140 in cmd/go | go1.26.9、go1.27.2 |
| GO-2026-6600 | CVE-2026-97030 | html/template | Recognize yield as regexp preceder keyword in html/template | go1.26.9、go1.27.2 |
| GO-2026-6599 | CVE-2026-94448 | html/template | Reset context tracking on consecutive template expressions in html/template | go1.26.9、go1.27.2 |
| GO-2026-6218 | CVE-2026-56860 | net/url | Avoid quadratic complexity in resolvePath in net/url | go1.25.13、go1.26.6、go1.27.0-rc.3 |
| GO-2026-6180 | CVE-2026-56864 | cmd/go | Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb | go1.25.13、go1.26.6、go1.27.0-rc.3 |
| GO-2026-6179 | CVE-2026-56865 | cmd/go | Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlog | go1.25.13、go1.26.6、go1.27.0-rc.3 |
| GO-2026-6091 | CVE-2026-56858 | html/template | Fix Javascript regexp context tracking in html/template | go1.25.13、go1.26.6、go1.27.0-rc.3 |
| GO-2026-6090 | CVE-2026-56862 | crypto/tls | Limit handshake messages we are willing to accept post-handshake in crypto/tls | go1.25.13、go1.26.6、go1.27.0-rc.3 |
| GO-2026-6089 | CVE-2026-56853 | net/http | Apply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/http | go1.25.13、go1.26.6、go1.27.0-rc.3 |
| GO-2026-6088 | CVE-2026-56859 | encoding/xml | Add recursion depth guard during decode in encoding/xml | go1.25.13、go1.26.6、go1.27.0-rc.3 |
| GO-2026-5972 | CVE-2026-33818 | encoding/asn1 | Enforce maximum recursion depth in encoding/asn1 | go1.25.13、go1.26.6、go1.27.0-rc.3 |
| GO-2026-5942 | CVE-2026-46600 | net | Parsing an invalid SVCB or HTTPS RR can panic in golang.org/x/net/dns/dnsmessage | go1.26.6、go1.27.0-rc.3 |
| GO-2026-5856 | CVE-2026-42505 | crypto/tls | Invoking Encrypted Client Hello privacy leak in crypto/tls | go1.25.12、go1.26.5、go1.27.0-rc.2 |
| GO-2026-5039 | CVE-2026-42507 | net/textproto | Arbitrary inputs are included in errors without any escaping in net/textproto | go1.25.11、go1.26.4 |
| GO-2026-5038 | CVE-2026-42504 | mime | Quadratic complexity in WordDecoder.DecodeHeader in mime | go1.25.11、go1.26.4 |
| GO-2026-5037 | CVE-2026-27145 | crypto/x509 | Inefficient candidate hostname parsing in crypto/x509 | go1.25.11、go1.26.4 |
| GO-2026-5026 | CVE-2026-39821 | net/http、net/http/internal/http2 | Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna | go1.25.13、go1.26.6、go1.27.0-rc.3 |
| GO-2026-4986 | CVE-2026-39820 | net/mail | Quadratic string concatentation in consumeComment in net/mail | go1.25.10、go1.26.3 |
| GO-2026-4984 | CVE-2026-42501 | cmd/go | Malicious module proxy can bypass checksum database in cmd/go | go1.25.10、go1.26.3 |
| GO-2026-4982 | CVE-2026-39823 | html/template | Bypass of meta content URL escaping causes XSS in html/template | go1.25.10、go1.26.3 |
| GO-2026-4981 | CVE-2026-33811 | net | Crash when handling long CNAME response in net | go1.25.10、go1.26.3 |
| GO-2026-4980 | CVE-2026-39826 | html/template | Escaper bypass leads to XSS in html/template | go1.25.10、go1.26.3 |
| GO-2026-4979 | CVE-2026-39817 | cmd/go | Invoking "go tool pack" does not sanitize output paths in cmd/go | go1.25.10、go1.26.3 |
| GO-2026-4978 | CVE-2026-39819 | cmd/go | Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go | go1.25.10、go1.26.3 |
| GO-2026-4977 | CVE-2026-42499 | net/mail | Quadratic string concatenation in consumePhrase in net/mail | go1.25.10、go1.26.3 |
| GO-2026-4976 | CVE-2026-39825 | net/http/httputil | ReverseProxy forwards queries with more than urlmaxqueryparams parameters in net/http/httputil | go1.25.10、go1.26.3 |
| GO-2026-4971 | CVE-2026-39836 | net | Panic in Dial and LookupPort when handling NUL byte on Windows in net | go1.25.10、go1.26.3 |
| GO-2026-4970 | CVE-2026-39822 | os | Root escape via symlink plus trailing slash in os | go1.25.12、go1.26.5、go1.27.0-rc.2 |
| GO-2026-4947 | CVE-2026-32280 | crypto/x509 | Unexpected work during chain building in crypto/x509 | go1.25.9、go1.26.2 |
| GO-2026-4946 | CVE-2026-32281 | crypto/x509 | Inefficient policy validation in crypto/x509 | go1.25.9、go1.26.2 |
| GO-2026-4918 | CVE-2026-33814 | net/http | Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net | go1.25.10、go1.26.3 |
| GO-2026-4871 | CVE-2026-27140 | cmd/go | Code execution vulnerability in SWIG code generation in cmd/go | go1.25.9、go1.26.2 |
| GO-2026-4870 | CVE-2026-32283 | crypto/tls | Unauthenticated TLS 1.3 KeyUpdate record can cause persistent connection retention and DoS in crypto/tls | go1.25.9、go1.26.2 |
| GO-2026-4869 | CVE-2026-32288 | archive/tar | Unbounded allocation for old GNU sparse in archive/tar | go1.25.9、go1.26.2 |
| GO-2026-4868 | CVE-2026-27143 | cmd/compile | Missing bound checks can lead to memory corruption in safe Go in cmd/compile | go1.25.9、go1.26.2 |
| GO-2026-4867 | CVE-2026-27144 | cmd/compile | Miscompilation allows memory corruption via CONVNOP-wrapped array copy in cmd/compile | go1.25.9、go1.26.2 |
| GO-2026-4866 | CVE-2026-33810 | crypto/x509 | Case-sensitive excludedSubtrees name constraints cause Auth Bypass in crypto/x509 | go1.26.2 |
| GO-2026-4865 | CVE-2026-32289 | html/template | JsBraceDepth Context Tracking Bugs (XSS) in html/template | go1.25.9、go1.26.2 |
| GO-2026-4864 | CVE-2026-32282 | internal/syscall/unix | TOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unix | go1.25.9、go1.26.2 |
| GO-2026-4603 | CVE-2026-27142 | html/template | URLs in meta content attribute actions are not escaped in html/template | go1.25.8、go1.26.1 |
| GO-2026-4602 | CVE-2026-27139 | os | FileInfo can escape from a Root in os | go1.25.8、go1.26.1 |
| GO-2026-4601 | CVE-2026-25679 | net/url | Incorrect parsing of IPv6 host literals in net/url | go1.25.8、go1.26.1 |
| GO-2026-4600 | CVE-2026-27138 | crypto/x509 | Panic in name constraint checking for malformed certificates in crypto/x509 | go1.26.1 |
| GO-2026-4599 | CVE-2026-27137 | crypto/x509 | Incorrect enforcement of email constraints in crypto/x509 | go1.26.1 |
| GO-2026-4433 | CVE-2025-61732 | cmd/cgo | Potential code smuggling via doc comments in cmd/cgo | go1.24.13、go1.25.7 |
| GO-2026-4403 | CVE-2025-22873 | os | Improper access to parent directory of root in os | go1.23.9、go1.24.3 |
| GO-2026-4342 | CVE-2025-61728 | archive/zip | Excessive CPU consumption when building archive index in archive/zip | go1.24.12、go1.25.6 |
| GO-2026-4341 | CVE-2025-61726 | net/url | Memory exhaustion in query parameter parsing in net/url | go1.24.12、go1.25.6 |
| GO-2026-4340 | CVE-2025-61730 | crypto/tls | Handshake messages may be processed at the incorrect encryption level in crypto/tls | go1.24.12、go1.25.6 |
| GO-2026-4339 | CVE-2025-61731 | cmd/go | Arbitrary file write using cgo pkg-config directive in cmd/go | go1.24.12、go1.25.6 |
| GO-2026-4338 | CVE-2025-68119 | cmd/go | Unexpected code execution when invoking toolchain in cmd/go | go1.24.13、go1.25.6 |
| GO-2026-4337 | CVE-2025-68121 | crypto/tls | Unexpected session resumption in crypto/tls | go1.24.13、go1.25.7、go1.26.0-rc.3 |
2025
| 編號 | CVE | 範圍 | 摘要(官方原文) | 修正於 |
|---|---|---|---|---|
| GO-2025-4175 | CVE-2025-61727 | crypto/x509 | Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509 | go1.24.11、go1.25.5 |
| GO-2025-4155 | CVE-2025-61729 | crypto/x509 | Excessive resource consumption when printing error string for host certificate validation in crypto/x509 | go1.24.11、go1.25.5 |
| GO-2025-4015 | CVE-2025-61724 | net/textproto | Excessive CPU consumption in Reader.ReadResponse in net/textproto | go1.24.8、go1.25.2 |
| GO-2025-4014 | CVE-2025-58183 | archive/tar | Unbounded allocation when parsing GNU sparse map in archive/tar | go1.24.8、go1.25.2 |
| GO-2025-4013 | CVE-2025-58188 | crypto/x509 | Panic when validating certificates with DSA public keys in crypto/x509 | go1.24.8、go1.25.2 |
| GO-2025-4012 | CVE-2025-58186 | net/http | Lack of limit when parsing cookies can cause memory exhaustion in net/http | go1.24.8、go1.25.2 |
| GO-2025-4011 | CVE-2025-58185 | encoding/asn1 | Parsing DER payload can cause memory exhaustion in encoding/asn1 | go1.24.8、go1.25.2 |
| GO-2025-4010 | CVE-2025-47912 | net/url | Insufficient validation of bracketed IPv6 hostnames in net/url | go1.24.8、go1.25.2 |
| GO-2025-4009 | CVE-2025-61723 | encoding/pem | Quadratic complexity when parsing some invalid inputs in encoding/pem | go1.24.8、go1.25.2 |
| GO-2025-4008 | CVE-2025-58189 | crypto/tls | ALPN negotiation error contains attacker controlled information in crypto/tls | go1.24.8、go1.25.2 |
| GO-2025-4007 | CVE-2025-58187 | crypto/x509 | Quadratic complexity when checking name constraints in crypto/x509 | go1.24.9、go1.25.3 |
| GO-2025-4006 | CVE-2025-61725 | net/mail | Excessive CPU consumption in ParseAddress in net/mail | go1.24.8、go1.25.2 |
| GO-2025-3956 | CVE-2025-47906 | os/exec | Unexpected paths returned from LookPath in os/exec | go1.23.12、go1.24.6 |
| GO-2025-3955 | CVE-2025-47910 | net/http | CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http | go1.25.1 |
| GO-2025-3849 | CVE-2025-47907 | database/sql | Incorrect results returned from Rows.Scan in database/sql | go1.23.12、go1.24.6 |
| GO-2025-3828 | CVE-2025-4674 | cmd/go | Unexpected command execution in untrusted VCS repositories in cmd/go | go1.23.11、go1.24.5 |
| GO-2025-3751 | CVE-2025-4673 | net/http | Sensitive headers not cleared on cross-origin redirect in net/http | go1.23.10、go1.24.4 |
| GO-2025-3750 | CVE-2025-0913 | syscall、os | Inconsistent handling of O_CREATE|O_EXCL on Unix and Windows in os in syscall | go1.23.10、go1.24.4 |
| GO-2025-3749 | CVE-2025-22874 | crypto/x509 | Usage of ExtKeyUsageAny disables policy validation in crypto/x509 | go1.24.4 |
| GO-2025-3563 | CVE-2025-22871 | net/http/internal | Request smuggling due to acceptance of invalid chunked data in net/http | go1.23.8、go1.24.2 |
| GO-2025-3503 | CVE-2025-22870 | net/http | HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net | go1.23.7、go1.24.1 |
| GO-2025-3447 | CVE-2025-22866 | crypto/internal/nistec | Timing sidechannel for P-256 on ppc64le in crypto/internal/nistec | go1.22.12、go1.23.6、go1.24.0-rc.3 |
| GO-2025-3428 | CVE-2025-22867 | cmd/go | Arbitrary code execution during build on darwin in cmd/go | go1.24.0-rc.3 |
| GO-2025-3421 | CVE-2025-22865 | crypto/x509 | ParsePKCS1PrivateKey panic with partial keys in crypto/x509 | go1.24.0-rc.2 |
| GO-2025-3420 | CVE-2024-45336 | net/http | Sensitive headers incorrectly sent after cross-domain redirect in net/http | go1.22.11、go1.23.5、go1.24.0-rc.2 |
| GO-2025-3383 | CVE-2024-45340 | cmd/go | GOAUTH credential leak in cmd/go | go1.24.0-rc.2 |
| GO-2025-3373 | CVE-2024-45341 | crypto/x509 | Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509 | go1.22.11、go1.23.5、go1.24.0-rc.2 |
2024
| 編號 | CVE | 範圍 | 摘要(官方原文) | 修正於 |
|---|---|---|---|---|
| GO-2024-3107 | CVE-2024-34158 | go/build/constraint | Stack exhaustion in Parse in go/build/constraint | go1.22.7、go1.23.1 |
| GO-2024-3106 | CVE-2024-34156 | encoding/gob | Stack exhaustion in Decoder.Decode in encoding/gob | go1.22.7、go1.23.1 |
| GO-2024-3105 | CVE-2024-34155 | go/parser | Stack exhaustion in all Parse functions in go/parser | go1.22.7、go1.23.1 |
| GO-2024-2963 | CVE-2024-24791 | net/http | Denial of service due to improper 100-continue handling in net/http | go1.21.12、go1.22.5 |
| GO-2024-2962 | CVE-2023-24531 | cmd/go | Output of "go env" does not sanitize values in cmd/go | go1.21.0-0 |
| GO-2024-2888 | CVE-2024-24789 | archive/zip | Mishandling of corrupt central directory record in archive/zip | go1.21.11、go1.22.4 |
| GO-2024-2887 | CVE-2024-24790 | net/netip | Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip | go1.21.11、go1.22.4 |
| GO-2024-2825 | CVE-2024-24787 | cmd/go | Arbitrary code execution during build on Darwin in cmd/go | go1.21.10、go1.22.3 |
| GO-2024-2824 | CVE-2024-24788 | net | Malformed DNS message can cause infinite loop in net | go1.22.3 |
| GO-2024-2687 | CVE-2023-45288 | net/http | HTTP/2 CONTINUATION flood in net/http | go1.21.9、go1.22.2 |
| GO-2024-2610 | CVE-2024-24785 | html/template | Errors returned from JSON marshaling may break template escaping in html/template | go1.21.8、go1.22.1 |
| GO-2024-2609 | CVE-2024-24784 | net/mail | Comments in display names are incorrectly handled in net/mail | go1.21.8、go1.22.1 |
| GO-2024-2600 | CVE-2023-45289 | net/http、net/http/cookiejar | Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http | go1.21.8、go1.22.1 |
| GO-2024-2599 | CVE-2023-45290 | net/textproto | Memory exhaustion in multipart form parsing in net/textproto and net/http | go1.21.8、go1.22.1 |
| GO-2024-2598 | CVE-2024-24783 | crypto/x509 | Verify panics on certificates with an unknown public key algorithm in crypto/x509 | go1.21.8、go1.22.1 |
2023
| 編號 | CVE | 範圍 | 摘要(官方原文) | 修正於 |
|---|---|---|---|---|
| GO-2023-2383 | CVE-2023-45285 | cmd/go | Command 'go get' may unexpectedly fallback to insecure git in cmd/go | go1.20.12、go1.21.5 |
| GO-2023-2382 | CVE-2023-39326 | net/http/internal | Denial of service via chunk extensions in net/http | go1.20.12、go1.21.5 |
| GO-2023-2375 | CVE-2023-45287 | crypto/tls | Before Go 1.20, the RSA based key exchange methods in crypto/tls may exhibit a timing side channel | go1.20.0 |
| GO-2023-2186 | CVE-2023-45284 | path/filepath | Incorrect detection of reserved device names on Windows in path/filepath | go1.20.11、go1.21.4 |
| GO-2023-2185 | CVE-2023-45283 | path/filepath、internal/safefilepath | Insecure parsing of Windows paths with a ??\ prefix in path/filepath | go1.20.11、go1.21.4、go1.20.12、go1.21.5 |
| GO-2023-2185 | CVE-2023-45283 | path/filepath、internal/safefilepath | Insecure parsing of Windows paths with a ??\ prefix in path/filepath | go1.20.11、go1.21.4、go1.20.12、go1.21.5 |
| GO-2023-2102 | CVE-2023-39325 | net/http | HTTP/2 rapid reset can cause excessive work in net/http | go1.20.10、go1.21.3 |
| GO-2023-2095 | CVE-2023-39323 | cmd/go | Arbitrary code execution during build via line directives in cmd/go | go1.20.9、go1.21.2 |
| GO-2023-2045 | CVE-2023-39322 | crypto/tls | Memory exhaustion in QUIC connection handling in crypto/tls | go1.21.1 |
| GO-2023-2044 | CVE-2023-39321 | crypto/tls | Panic when processing post-handshake message on QUIC connections in crypto/tls | go1.21.1 |
| GO-2023-2043 | CVE-2023-39319 | html/template | Improper handling of special tags within script contexts in html/template | go1.20.8、go1.21.1 |
| GO-2023-2042 | CVE-2023-39320 | cmd/go | Arbitrary code execution via go.mod toolchain directive in cmd/go | go1.21.1 |
| GO-2023-2041 | CVE-2023-39318 | html/template | Improper handling of HTML-like comments in script contexts in html/template | go1.20.8、go1.21.1 |
| GO-2023-1987 | CVE-2023-29409 | crypto/tls | Large RSA keys can cause high CPU usage in crypto/tls | go1.19.12、go1.20.7、go1.21.0-rc.4 |
| GO-2023-1878 | CVE-2023-29406 | net/http | Insufficient sanitization of Host header in net/http | go1.19.11、go1.20.6 |
| GO-2023-1842 | CVE-2023-29405 | cmd/go、cmd/cgo | Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go | go1.19.10、go1.20.5 |
| GO-2023-1841 | CVE-2023-29404 | cmd/go | Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go | go1.19.10、go1.20.5 |
| GO-2023-1840 | CVE-2023-29403 | runtime | Unsafe behavior in setuid/setgid binaries in runtime | go1.19.10、go1.20.5 |
| GO-2023-1839 | CVE-2023-29402 | cmd/go | Code injection via go command with cgo in cmd/go | go1.19.10、go1.20.5 |
| GO-2023-1753 | CVE-2023-29400 | html/template | Improper handling of empty HTML attributes in html/template | go1.19.9、go1.20.4 |
| GO-2023-1752 | CVE-2023-24540 | html/template | Improper handling of JavaScript whitespace in html/template | go1.19.9、go1.20.4 |
| GO-2023-1751 | CVE-2023-24539 | html/template | Improper sanitization of CSS values in html/template | go1.19.9、go1.20.4 |
| GO-2023-1705 | CVE-2023-24536 | mime/multipart、net/textproto | Excessive resource consumption in net/http, net/textproto and mime/multipart | go1.19.8、go1.20.3 |
| GO-2023-1704 | CVE-2023-24534 | net/textproto | Excessive memory allocation in net/http and net/textproto | go1.19.8、go1.20.3 |
| GO-2023-1703 | CVE-2023-24538 | html/template | Backticks not treated as string delimiters in html/template | go1.19.8、go1.20.3 |
| GO-2023-1702 | CVE-2023-24537 | go/scanner | Infinite loop in parsing in go/scanner | go1.19.8、go1.20.3 |
| GO-2023-1621 | CVE-2023-24532 | crypto/internal/nistec | Incorrect calculation on P256 curves in crypto/internal/nistec | go1.19.7、go1.20.2 |
| GO-2023-1571 | CVE-2022-41723 | net/http | Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net | go1.19.6、go1.20.1 |
| GO-2023-1570 | CVE-2022-41724 | crypto/tls | Panic on large handshake records in crypto/tls | go1.19.6、go1.20.1 |
| GO-2023-1569 | CVE-2022-41725 | mime/multipart | Excessive resource consumption in mime/multipart | go1.19.6、go1.20.1 |
| GO-2023-1568 | CVE-2022-41722 | path/filepath | Path traversal on Windows in path/filepath | go1.19.6、go1.20.1 |
2022
| 編號 | CVE | 範圍 | 摘要(官方原文) | 修正於 |
|---|---|---|---|---|
| GO-2022-1144 | CVE-2022-41717 | net/http | Excessive memory growth in net/http and golang.org/x/net/http2 | go1.18.9、go1.19.4 |
| GO-2022-1143 | CVE-2022-41720 | os、net/http | Restricted file access on Windows in os and net/http | go1.18.9、go1.19.4 |
| GO-2022-1095 | CVE-2022-41716 | syscall、os/exec | Unsanitized NUL in environment variables on Windows in syscall and os/exec | go1.18.8、go1.19.3 |
| GO-2022-1039 | CVE-2022-41715 | regexp/syntax | Memory exhaustion when compiling regular expressions in regexp/syntax | go1.18.7、go1.19.2 |
| GO-2022-1038 | CVE-2022-2880 | net/http/httputil | Incorrect sanitization of forwarded query parameters in net/http/httputil | go1.18.7、go1.19.2 |
| GO-2022-1037 | CVE-2022-2879 | archive/tar | Unbounded memory consumption when reading headers in archive/tar | go1.18.7、go1.19.2 |
| GO-2022-0988 | CVE-2022-32190 | net/url | Failure to strip relative path components in net/url | go1.19.1 |
| GO-2022-0969 | CVE-2022-27664 | net/http | Denial of service in net/http and golang.org/x/net/http2 | go1.18.6、go1.19.1 |
| GO-2022-0761 | CVE-2016-5386 | net/http、net/http/cgi | Improper input validation in net/http and net/http/cgi | go1.6.3 |
| GO-2022-0537 | CVE-2022-32189 | math/big | Panic when decoding Float and Rat types in math/big | go1.17.13、go1.18.5 |
| GO-2022-0536 | CVE-2019-9512 | net/http | Reset flood in net/http and golang.org/x/net/http | go1.11.13、go1.12.8 |
| GO-2022-0535 | CVE-2020-0601 | crypto/x509 | Certificate validation bypass on Windows in crypto/x509 | go1.12.16、go1.13.7 |
| GO-2022-0533 | CVE-2022-29804 | path/filepath | Path traversal via Clean on Windows in path/filepath | go1.17.11、go1.18.3 |
| GO-2022-0532 | CVE-2022-30580 | os/exec | Empty Cmd.Path can trigger unintended binary in os/exec on Windows | go1.17.11、go1.18.3 |
| GO-2022-0531 | CVE-2022-30629 | crypto/tls | Session tickets lack random ticket_age_add in crypto/tls | go1.17.11、go1.18.3 |
| GO-2022-0527 | CVE-2022-30630 | io/fs | Stack exhaustion in Glob on certain paths in io/fs | go1.17.12、go1.18.4 |
| GO-2022-0526 | CVE-2022-30635 | encoding/gob | Stack exhaustion when decoding certain messages in encoding/gob | go1.17.12、go1.18.4 |
| GO-2022-0525 | CVE-2022-1705 | net/http | Improper sanitization of Transfer-Encoding headers in net/http | go1.17.12、go1.18.4 |
| GO-2022-0524 | CVE-2022-30631 | compress/gzip | Stack exhaustion when reading certain archives in compress/gzip | go1.17.12、go1.18.4 |
| GO-2022-0523 | CVE-2022-30633 | encoding/xml | Stack exhaustion when unmarshaling certain documents in encoding/xml | go1.17.12、go1.18.4 |
| GO-2022-0522 | CVE-2022-30632 | path/filepath | Stack exhaustion on crafted paths in path/filepath | go1.17.12、go1.18.4 |
| GO-2022-0521 | CVE-2022-28131 | encoding/xml | Stack exhaustion from deeply nested XML documents in encoding/xml | go1.17.12、go1.18.4 |
| GO-2022-0520 | CVE-2022-32148 | net/http | Exposure of client IP addresses in net/http | go1.17.12、go1.18.4 |
| GO-2022-0515 | CVE-2022-1962 | go/parser | Stack exhaustion due to deeply nested types in go/parser | go1.17.12、go1.18.4 |
| GO-2022-0493 | CVE-2022-29526 | syscall | Incorrect privilege reporting in syscall and golang.org/x/sys/unix | go1.17.10、go1.18.2 |
| GO-2022-0477 | CVE-2022-30634 | crypto/rand | Indefinite hang with large buffers on Windows in crypto/rand | go1.17.11、go1.18.3 |
| GO-2022-0476 | CVE-2020-28367 | cmd/go | Arbitrary code execution via the go command with cgo in cmd/go | go1.14.12、go1.15.5 |
| GO-2022-0475 | CVE-2020-28366 | cmd/go、cmd/cgo | Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo | go1.14.12、go1.15.5 |
| GO-2022-0435 | CVE-2022-28327 | crypto/elliptic | Panic due to large inputs affecting P-256 curves in crypto/elliptic | go1.17.9、go1.18.1 |
| GO-2022-0434 | CVE-2022-27536 | crypto/x509 | Panic during certificate parsing on Darwin in crypto/x509 | go1.18.1 |
| GO-2022-0433 | CVE-2022-24675 | encoding/pem | Stack overflow from a large amount of PEM data in encoding/pem | go1.17.9、go1.18.1 |
| GO-2022-0318 | CVE-2022-23773 | cmd/go/internal/modfetch | Incorrect access control in the go command in cmd/go/internal/modfetch | go1.16.14、go1.17.7 |
| GO-2022-0289 | CVE-2021-44717 | syscall | Misdirected I/O in syscall | go1.16.12、go1.17.5 |
| GO-2022-0288 | CVE-2021-44716 | net/http | Unbounded memory growth in net/http and golang.org/x/net/http2 | go1.16.12、go1.17.5 |
| GO-2022-0273 | CVE-2021-39293 | archive/zip | Panic due to crafted inputs in archive/zip | go1.16.8、go1.17.1 |
| GO-2022-0247 | CVE-2021-38297 | cmd/link | Buffer overflow in WASM modules in misc/wasm and cmd/link | go1.16.9、go1.17.2 |
| GO-2022-0236 | CVE-2021-31525 | net/http | Panic due to large headers in net/http and golang.org/x/net/http/httpguts | go1.15.12、go1.16.4 |
| GO-2022-0229 | CVE-2020-7919 | crypto/x509 | Panic in certificate parsing in crypto/x509 and golang.org/x/crypto/cryptobyte | go1.12.16、go1.13.7 |
| GO-2022-0220 | CVE-2019-9634 | runtime、syscall | DLL injection on Windows in runtime and syscall | go1.11.10、go1.12.2 |
| GO-2022-0217 | CVE-2019-6486 | crypto/elliptic | Denial of service affecting P-521 and P-384 curves in crypto/elliptic | go1.10.8、go1.11.5 |
| GO-2022-0213 | CVE-2019-17596 | crypto/dsa | Panic on invalid DSA public keys in crypto/dsa | go1.12.11、go1.13.2 |
| GO-2022-0212 | CVE-2019-16276 | net/textproto | Request smuggling due to accepting invalid headers in net/http via net/textproto | go1.12.10、go1.13.1 |
| GO-2022-0211 | CVE-2019-14809 | net/url | Incorrect parsing validation in net/url | go1.11.13、go1.12.8 |
| GO-2022-0203 | CVE-2018-7187 | cmd/go | Remote command execution via "go get" command with "-insecure" option in cmd/go | go1.9.5、go1.10.1 |
| GO-2022-0201 | CVE-2018-6574 | cmd/go | Remote command execution via "go get" command with cgo in cmd/go | go1.8.7、go1.9.4 |
| GO-2022-0191 | CVE-2018-16875 | crypto/x509 | Denial of service in chain verification in crypto/x509 | go1.10.6、go1.11.3 |
| GO-2022-0190 | CVE-2018-16874 | cmd/go/internal/get | Directory traversal via "go get" command in cmd/go | go1.10.6、go1.11.3 |
| GO-2022-0189 | CVE-2018-16873 | cmd/go/internal/get | Remote command execution via "go get" with "-u" flag in cmd/go | go1.10.6、go1.11.3 |
| GO-2022-0187 | CVE-2017-8932 | crypto/elliptic | Incorrect computation for P-256 curves in crypto/elliptic | go1.7.6、go1.8.2 |
| GO-2022-0177 | CVE-2017-15041 | cmd/go | Remote command execution via "go get" in cmd/go | go1.8.4、go1.9.1 |
| GO-2022-0171 | CVE-2017-1000097 | crypto/x509 | Mishandled trust preferences for root certificates on Darwin in crypto/x509 | go1.6.4、go1.7.4 |
| GO-2022-0166 | CVE-2016-3959 | crypto/dsa | Denial of service due to unchecked parameters in crypto/dsa | go1.5.4、go1.6.1 |
| GO-2021-0347 | CVE-2022-24921 | regexp | Stack exhaustion when compiling deeply nested expressions in regexp | go1.16.15、go1.17.8 |
| GO-2021-0319 | CVE-2022-23806 | crypto/elliptic | Incorrect computation for some invalid field elements in crypto/elliptic | go1.16.14、go1.17.7 |
| GO-2021-0317 | CVE-2022-23772 | math/big | Uncontrolled memory consumption in math/big | go1.16.14、go1.17.7 |
| GO-2021-0264 | CVE-2021-41772 | archive/zip | Panic when opening certain archives in archive/zip | go1.16.10、go1.17.3 |
| GO-2021-0263 | CVE-2021-41771 | debug/macho | Panic on invalid symbol tables in debug/macho | go1.16.10、go1.17.3 |
| GO-2021-0245 | CVE-2021-36221 | net/http/httputil | Panic in ReverseProxy in net/http/httputil | go1.15.15、go1.16.7 |
| GO-2021-0243 | CVE-2021-34558 | crypto/tls | Panic on certain certificates in crypto/tls | go1.15.14、go1.16.6 |
| GO-2021-0242 | CVE-2021-33198 | math/big | Panic on inputs with large exponents in math/big | go1.15.13、go1.16.5 |
| GO-2021-0241 | CVE-2021-33197 | net/http/httputil | Attacker can drop certain headers in net/http/httputil | go1.15.13、go1.16.5 |
| GO-2021-0240 | CVE-2021-33196 | archive/zip | Panic when reading certain archives in archive/zip | go1.15.13、go1.16.5 |
| GO-2021-0239 | CVE-2021-33195 | net | Improper sanitization when resolving values from DNS in net | go1.15.13、go1.16.5 |
| GO-2021-0235 | CVE-2021-3114 | crypto/elliptic | Incorrect operations on the P-224 curve in crypto/elliptic | go1.14.14、go1.15.7 |
| GO-2021-0234 | CVE-2021-27918 | encoding/xml | Infinite loop when decoding inputs in encoding/xml | go1.15.9、go1.16.1 |
| GO-2021-0226 | CVE-2020-24553 | net/http/cgi、net/http/fcgi | Cross-site scripting in net/http/cgi and net/http/fcgi | go1.14.8、go1.15.1 |
| GO-2021-0224 | CVE-2020-15586 | net/http | Data race and crash in net/http | go1.13.13、go1.14.5 |
| GO-2021-0223 | CVE-2020-14039 | crypto/x509 | Certificate verification error on Windows in crypto/x509 | go1.13.13、go1.14.5 |
| GO-2021-0178 | CVE-2017-15042 | net/smtp | Cleartext transmission of credentials in net/smtp | go1.8.4、go1.9.1 |
| GO-2021-0172 | CVE-2017-1000098 | mime/multipart | Denial of service when parsing large forms in mime/multipart | go1.6.4、go1.7.4 |
| GO-2021-0163 | CVE-2016-3958 | syscall | Privilege escalation on Windows via malicious DLL in syscall | go1.5.4、go1.6.1 |
| GO-2021-0160 | CVE-2015-8618 | math/big | Incorrect calculation affecting RSA computations in math/big | go1.5.3 |
| GO-2021-0159 | CVE-2015-5739 | net/http | Request smuggling due to improper header parsing in net/http | go1.4.3 |
| GO-2021-0154 | CVE-2014-7189 | crypto/tls | Man-in-the-middle attack with SessionTicketsDisabled in crypto/tls | go1.3.2 |
| GO-2021-0142 | CVE-2020-16845 | encoding/binary | Unbounded read from invalid inputs in encoding/binary | go1.13.15、go1.14.7 |
2021
| 編號 | CVE | 範圍 | 摘要(官方原文) | 修正於 |
|---|---|---|---|---|
| GO-2021-0069 | CVE-2020-28362 | math/big | Panic during division of very large numbers in math/big | go1.14.12、go1.15.5 |
| GO-2021-0068 | CVE-2021-3115 | cmd/go | Arbitrary code injection via the go command with cgo on Windows in cmd/go | go1.14.14、go1.15.7 |
| GO-2021-0067 | CVE-2021-27919 | archive/zip | Panic when opening archives in archive/zip | go1.16.1 |
資料來源
- Go 漏洞資料庫
- pkg.go.dev 漏洞清單
- Hacker News(透過 hn.algolia.com 搜尋 API)