The Addressable::URI#origin= method in the Uffizzi Addressable library incorrectly extracts the host from a URI when userinfo containing a colon is present, causing the host to be taken from the userinfo instead of the authority. This discrepancy can lead to mismatches between validation and usage of host values. The vulnerability affects versions from 2.4.0 through 2.9.2 and is fixed in 2.10.0. Applications that do not assign untrusted values to origin= are not affected. Additional issues with IPv6 host truncation and port dropping are fixed by the same update but are not expected to have security impact.