← 취약점·업데이트

보통취약점 권고Ruby

Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing

영향

패키지영향받는 버전수정 버전
rubygems:addressable>= 2.2.5, <= 2.9.22.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…

GitHub Advisory Database에서 읽기

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.