ADVISORIES

Ubuntu Security Notice

USN-8883-1

golang-1.18, golang-1.21, golang-1.24 vulnerability

Details

It was discovered that the Go x/net/idna package incorrectly handled certain Punycode-encoded labels that decoded to ASCII-only labels. An attacker could possibly use this issue to bypass hostname-based access controls and escalate privileges.

Affected packages

EcosystemPackageAffected versions
Ubuntu:22.04:LTSgolang-1.18
All versions before 1.18.1-1ubuntu1.3 (fixed in 1.18.1-1ubuntu1.3)
Ubuntu:22.04:LTSgolang-1.21
All versions before 1.21.1-1~ubuntu22.04.4 (fixed in 1.21.1-1~ubuntu22.04.4)
Ubuntu:22.04:LTSgolang-1.24
All versions before 1.24.13-2~22.04.2 (fixed in 1.24.13-2~22.04.2)

References