Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.4.0 until 2.10.0, Addressable::URI#origin= parses an assigned origin with a pattern that can take the host from colon-containing userinfo instead of from the authority. An application that validates the same string with Addressable::URI.parse but assigns it with origin= can check one host and use another. This issue is fixed in version 2.10.0.