Descrizione
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".
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.6.
Versioni da aggiornare
- Golang Net: vulnerabili le versioni precedenti alla
0.55.0→ aggiornare alla0.55.0o successiva.
Patch e advisory
- Advisory del vendor: pkg.go.dev/vuln/GO-2026-5026
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Golang | Net | < 0.55.0 | 0.55.0 |
Riferimenti
- Advisory del vendorhttps://pkg.go.dev/vuln/GO-2026-5026
- Riferimentohttps://go.dev/cl/767220
- Riferimentohttps://go.dev/cl/796421
- Riferimentohttps://go.dev/issue/78760
- Riferimentohttps://groups.google.com/g/golang-announce/c/94pEornpRlI
- Riferimentohttps://groups.google.com/g/golang-announce/c/iI-mYSI0lu8
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:23262
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:23264
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:26546
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:26547
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:30650
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:30651
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:30853
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:30854
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:30855
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:33155
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:33160
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:33163
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:33173
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:33183
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:33524
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:33531
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:34342
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:34357
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:34359