Distro News

Ubuntu patches Go 1.23 vulnerability in x/net/idna package

Key Takeaway

A vulnerability in the Go x/net/idna package could allow attackers to bypass hostname-based access controls via Punycode-encoded labels.

Summary

Ubuntu has released an update for Go 1.23 to address a security vulnerability identified as CVE-2026-39821. The issue resides in how the x/net/idna package handles specific Punycode-encoded labels, potentially leading to privilege escalation or unauthorized network access. This update specifically targets the golang-1.23 packages on Ubuntu 22.04 LTS.

Technical details of CVE-2026-39821

  • The vulnerability affects the x/net/idna package.
  • It involves incorrect handling of Punycode-encoded labels that decode to ASCII-only labels.
  • Exploitation could allow an attacker to bypass hostname-based access controls.
  • The flaw may lead to privilege escalation.
  • Fixed version for Ubuntu 22.04 LTS is 1.23.1-1~22.04.3.

Why it matters

Developers using Go 1.23 on Ubuntu 22.04 LTS should update their packages to prevent potential network security bypasses.

Original reference: ubuntu.com →