{"id":"ghsa-ghsa-mrrj-5mhw-rcf2","seq":12188208,"kind":"advisory","title":"Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing","url":"https://github.com/advisories/GHSA-mrrj-5mhw-rcf2","permalink":"https://vulnpulse.app/items/ghsa-ghsa-mrrj-5mhw-rcf2","summary":"影響: rubygems:addressable >= 2.2.5, <= 2.9.2 → 2.10.0\nWith 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…","severity":"medium","cvss":null,"techs":["ruby"],"cves":["CVE-2026-141539"],"tags":["GHSA-mrrj-5mhw-rcf2","addressable"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-01T23:50:07.000Z","fetched_at":"2026-12-01T23:50:51.336Z"}