Addressable URI#hostname strips brackets from hosts that aren't IP literals
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| sporkmonger | addressable | affected |
|
No data.
No data.
No data available yet.
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-c7j3-jq7p-v3pr | Addressable URI#hostname strips brackets from hosts that aren't IP literals |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.3.5 until 2.10.0, Addressable accepts bracketed non-IP hosts that are not IPv6 or IPvFuture literals, while Addressable::URI#hostname removes those brackets. Code that checks Addressable::URI#host but connects with Addressable::URI#hostname, including through Net::HTTP, can permit an unresolved bracketed value and then connect to the corresponding loopback or internal hostname. This issue is fixed in version 2.10.0. | |
| Title | Addressable URI#hostname strips brackets from hosts that aren't IP literals | |
| Weaknesses | CWE-20 CWE-436 CWE-918 |
|
| References |
| |
| Metrics |
cvssV3_1
|
No data.