2 matches found
GHSA-C7J3-JQ7P-V3PR Addressable URI#hostname strips brackets from hosts that aren't IP literals
Impact Addressable::URI.parse accepts a host in brackets even when the text inside isn't an IPv6 address or an IPvFuture literal, such as http://127.0.0.1/ or http://localhost/. host keeps the brackets, but hostname strips them, so code that checks host and connects to hostname checks one name an...
Addressable URI#hostname strips brackets from hosts that aren't IP literals
Impact Addressable::URI.parse accepts a host in brackets even when the text inside isn't an IPv6 address or an IPvFuture literal, such as http://127.0.0.1/ or http://localhost/. host keeps the brackets, but hostname strips them, so code that checks host and connects to hostname checks one name an...