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.
https://github.com/sporkmonger/addressable/security/advisories/GHSA-cwmp-x65r-27fv
https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0
https://github.com/sporkmonger/addressable/commit/56454dd45398d23402243e85ec860d8a6caedbd1