CVEfocus › CVE database › CVE-2023-28628

CVE-2023-28628`authority-regex` returns the wrong authority in lambdaisland/uri

CVSS 5.4 MediumEPSS 0.5% (higher than 47% of CVEs)Published 2023-03-27Updated 2025-02-19Assigner: GitHub_M

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.

CWE-706

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
7Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10lambdaisland-uri-clojureFix pendingUBUNTU-CVE-2023-28628
Ubuntu 26.04lambdaisland-uri-clojureFix pendingUBUNTU-CVE-2023-28628
Ubuntu 25.10lambdaisland-uri-clojureWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-28628
Ubuntu 24.04lambdaisland-uri-clojureFix pending1.13.95-2ubuntu0.24.04.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2023-28628
Ubuntu 22.04lambdaisland-uri-clojureFix pending1.13.95-2ubuntu0.22.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-28628
Debian 14lambdaisland-uri-clojureFix pendingDEBIAN-CVE-2023-28628
Debian 13lambdaisland-uri-clojureFix pendingDEBIAN-CVE-2023-28628
Debian 12lambdaisland-uri-clojureFix pendingDEBIAN-CVE-2023-28628
Maven librarylambdaisland:uriFixed1.14.120GHSA-cp4w-6x4w-v2h5

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.