Skip to content
Fencer Vulns
medium 5.4

CVE-2023-28628 json

`authority-regex` returns the wrong authority in lambdaisland/uri

published 2023-03-27 3 y ago modified 2026-06-17 4 mo ago also GHSA-cp4w-6x4w-v2h5 , EUVD-2023-0986

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 46%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven lambdaisland:uri 1.14.120
  • lambdaisland uri 1.14.120
  • lambdaisland-uri-clojure Ubuntu Pro 22.04 LTS 1.13.95-2ubuntu0.22.04.1~esm1
  • lambdaisland-uri-clojure Ubuntu Pro 24.04 LTS 1.13.95-2ubuntu0.24.04.1~esm2

ubuntu advisories UBUNTU-CVE-2023-28628

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
20 mo ago

Exploit prediction

0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/lambdaisland/uri/security/advisories/GHSA-cp4w-6x4w-v2h5 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven lambdaisland:uri
<1.14.120
1.14.120

Affected products

  • lambdaisland uri

Classification

Weakness
  • CWE-706 Use of Incorrectly-Resolved Name or Reference
  • CWE-601 URL Redirection to Untrusted Site

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.