AZL-114058: CVE-2026-126348 affecting package rubygem-addressable 2.9.0-1
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.9.1, the pure-Ruby Addressable::IDNA.tounicode implementation decodes invalid Punycode A-labels instead of returning them unchanged. Labels that decode to ASCII text or fail to convert back to the same A-label can therefore make Addressable::URI#displayuri show a trusted-looking host while host, normalizedhost, and the connection target retain the attacker-controlled encoded host. A trusted-name comparison using Addressable::IDNA.tounicode output can also treat two different hosts as the same without displaying the URI. The native libidn implementation, toascii, and normalizedhost are unaffected. This issue is fixed in version 2.9.1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.9.1