CVE-2023-28628
published medium CVSS 3.1 · 5.4`authority-regex` returns the wrong authority in lambdaisland/uri
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lambdaisland | — | uri< 1.14.120 | Affected | Not stated | GitHub_M |
| Ubuntu | jammy | lambdaisland-uri-clojure | Advisory build | 1.13.95-2ubuntu0.22.04.1~esm1 | USN-8151-1 |
| Ubuntu | jammy | liblambdaisland-uri-clojure | Advisory build | 1.13.95-2ubuntu0.22.04.1~esm1 | USN-8151-1 |
| Ubuntu | noble | lambdaisland-uri-clojure | Advisory build | 1.13.95-2ubuntu0.24.04.1~esm2 | USN-8151-1 |
| Ubuntu | noble | liblambdaisland-uri-clojure | Advisory build | 1.13.95-2ubuntu0.24.04.1~esm2 | USN-8151-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lambdaisland | uri | < 1.14.120 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-706 CWE-706: Use of Incorrectly-Resolved Name or Reference
References
2Provider assertions
3GitHub_M · cna
`authority-regex` returns the wrong authority in lambdaisland/uri
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6bcfedbf6d7cd6cc1c434061902a137b448d0cf872f9864024d595c579e51eab
- Ingested
- 23 Sep 2026, 08:07:45 UTC
- Source record
- Official CVE record