kcve.ai취약점 정보 · 내 자산 확인

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건

‹ 목록

점검 지원 범위 문의

도입 문의