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

- 種別: advisory
- 重大度: low
- 関連技術: ruby
- CVE: CVE-2026-141530
- 公開日時: 2026-12-01T21:44:23.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-fccw-gx6q-mh6c)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-fccw-gx6q-mh6c

影響: rubygems:addressable >= 2.0.0, <= 2.9.2 → 2.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…