CVE-2026-39821 Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
설명
The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") incorrectly returns the name "example.com" rather than an error. This behavior can lead to privilege escalation in programs using the idna package. For example, a program which performs privilege checks on the ASCII hostname may reject "example.com" but permit "xn--example-.com". If that program subsequently converts the ASCII hostname to Unicode, it will inadvertently permits access to the Unicode name "example.com".
영향 받는 제품 제품 3개
-
해결 버전 있음
Go standard library
net/http
영향 받는 버전
- 1.25.13 미만
- 1.26.0-0 이상 1.26.6 미만
- 1.27.0-0 이상 1.27.0-rc.3 미만
해결 버전
- 1.25.13 이상
- 1.26.6 이상
- 1.27.0-rc.3 이상
-
해결 버전 있음
Go standard library
net/http/internal/http2
영향 받는 버전
- 1.25.13 미만
- 1.26.0-0 이상 1.26.6 미만
- 1.27.0-0 이상 1.27.0-rc.3 미만
해결 버전
- 1.25.13 이상
- 1.26.6 이상
- 1.27.0-rc.3 이상
-
해결 버전 있음
golang.org/x/net
golang.org/x/net/idna
영향 받는 버전
- 0.57.0 미만
해결 버전
- 0.57.0 이상
참고 자료 6건
- go.dev https://go.dev/cl/767220 (새 창)
- go.dev https://go.dev/cl/796421 (새 창)
- go.dev https://go.dev/issue/78760 (새 창)
- groups.google.com https://groups.google.com/g/golang-announce/c/94pEornpRlI (새 창)
- groups.google.com https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8 (새 창)
- pkg.go.dev https://pkg.go.dev/vuln/GO-2026-5026 (새 창)