CVE-2023-28628
Last modified
CVE-2023-28628 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. lambdaisland/uri is a pure Clojure/ClojureScript URI library. In versions prior to 1.14.120 `authority-regex` allows an attacker to send malicious URLs to be parsed by the `lambdaisland/uri` and return the wrong authority. EPSS estimates a 0.55% chance of exploitation in the next 30 days.
Description
lambdaisland/uri is a pure Clojure/ClojureScript URI library. In versions prior to 1.14.120 `authority-regex` allows an attacker to send malicious URLs to be parsed by the `lambdaisland/uri` and return the wrong authority. This issue is similar to but distinct from CVE-2020-8910. The regex in question doesn't handle the backslash (`\`) character in the username correctly, leading to a wrong output. ex. a payload of `https://example.com\\@google.com` would return that the host is `google.com`, but the correct host should be `example.com`. Given that the library returns the wrong authority this may be abused to bypass host restrictions depending on how the library is used in an application. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Lambdaisland | Uri | < 1.14.120 |
References
- https://github.com/lambdaisland/uri/security/advisories/GHSA-cp4w-6x4w-v2h5Exploit, Vendor Advisory
- https://github.com/lambdaisland/uri/security/advisories/GHSA-cp4w-6x4w-v2h5Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-28628?
How severe is CVE-2023-28628?
How do I fix CVE-2023-28628?
Are you affected by CVE-2023-28628?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
