PT-2023-21859 · Unknown · Lambdaisland/Uri
Luigigubello
·
Published
2023-03-27
·
Updated
2026-04-06
·
CVE-2023-28628
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
lambdaisland/uri versions prior to 1.14.120
Description
The issue allows an attacker to send malicious URLs to be parsed by the lambdaisland/uri library, returning the wrong authority. This occurs because the
authority-regex does not handle the backslash (``) character in the username correctly, leading to incorrect output. For example, a payload of https://example.com@google.com would return google.com as the host, when the correct host should be example.com. This may be abused to bypass host restrictions depending on how the library is used in an application.Recommendations
For versions prior to 1.14.120, users are advised to upgrade to version 1.14.120 or later to resolve the issue.
At the moment, there is no information about other workarounds for this vulnerability.
Exploit
Fix
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Lambdaisland/Uri