Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| rubygems:addressable | >= 2.2.5, <= 2.9.2 | 2.10.0 |
With the native IDNA backend, which Addressable uses when the idn-ruby gem is installed, a host with a pct-encoded NUL is cut short when it is normalized. Addressable::URI#normalized_host decodes the host and passes each label to libidn, which reads the NUL as the end of the string and drops the rest of the label. http://internal.example%00x/ normalizes to http://internal.example/. #host and #to_s keep the host as written, while #normalize, #normalized_host, #normalized_authority, #normalized_s…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/12/02 08:50、GitHub Advisory Databaseが「Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: Ruby。CVE: CVE-2026-141539。