← Vulnerabilities

LowAdvisoryRuby

Addressable pure IDNA implementation skips the nameprep bidi rule, so hosts under different domains can display identically

Affected

PackageAffected versionsFixed in
rubygems:addressable>= 2.0.0, <= 2.9.22.10.0

Nameprep, part of IDNA2003, requires a label with a right-to-left character to have no left-to-right characters, and to start and end with a right-to-left character (Section 6 of RFC 3491 and Section 6 of RFC 3454). Without the rule, two strings with the same characters in a different order can display identically. Addressable::IDNA.to_unicode in the pure-Ruby IDNA implementation, and so Addressable::URI#display_uri, doesn't apply the rule, so it decodes labels that break it. The native impleme…

Read on GitHub Advisory Database

On 12/02/2026, 06:44 AM, GitHub Advisory Database published "Addressable pure IDNA implementation skips the nameprep bidi rule, so hosts under different domains can display identically" (type: Advisory). Severity is "Low" (low). Related technologies: Ruby. CVE: CVE-2026-141530.