Skip to content
Heist/ feed
Back to feed
MediumFix available

lambdaisland-uri-clojure — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2023-28628

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.

Products
lambdaisland-uri-clojure
Affected versions
1.13.95-2, 1.13.95-2build1, 1.13.95-2build2, 1.13.95-2ubuntu1
Fixed versions
1.13.95-2ubuntu0.22.04.1~esm1, 1.13.95-2ubuntu0.24.04.1~esm2
CVEs
CVE-2023-28628
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:39 UTC · Revision 1

Source evidence

UBUNTU-CVE-2023-28628

core-osv · Original source

Published 27 Mar 2023, 21:15 UTC

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.

osv:UBUNTU-CVE-2023-28628

lambdaisland-uri-clojure

Fixed versions: 1.13.95-2ubuntu0.22.04.1~esm1

lambdaisland-uri-clojure

Fixed versions: 1.13.95-2ubuntu0.24.04.1~esm2

lambdaisland-uri-clojure

Fixed versions: Not specified

lambdaisland-uri-clojure

Fixed versions: Not specified

lambdaisland-uri-clojure

Fixed versions: Not specified

Complete source record
{
  "id": "114c2d01f979478fa9fbea3119c9a14fbed2d201d0e66d1245498331bdb41f30",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-28628",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2023-28628",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2023-28628",
    "products": [
      {
        "name": {
          "value": "lambdaisland-uri-clojure",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.13.95-2ubuntu0.22.04.1~esm1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.13.95-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lambdaisland-uri-clojure",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.13.95-2ubuntu0.24.04.1~esm2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.13.95-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lambdaisland-uri-clojure",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.13.95-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lambdaisland-uri-clojure",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.13.95-2ubuntu1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lambdaisland-uri-clojure",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.13.95-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.13.95-2build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.13.95-2build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.13.95-2ubuntu1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2023-28628",
      "aliases": [
        "UBUNTU-CVE-2023-28628"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "high"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.13.95-2ubuntu0.22.04.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "lambdaisland-uri-clojure",
            "purl": "pkg:deb/ubuntu/lambdaisland-uri-clojure?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "1.13.95-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28628.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblambdaisland-uri-clojure",
                "binary_version": "1.13.95-2ubuntu0.22.04.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.13.95-2ubuntu0.24.04.1~esm2"
                }
              ]
            }
          ],
          "package": {
            "name": "lambdaisland-uri-clojure",
            "purl": "pkg:deb/ubuntu/lambdaisland-uri-clojure?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "1.13.95-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28628.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblambdaisland-uri-clojure",
                "binary_version": "1.13.95-2ubuntu0.24.04.1~esm2"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lambdaisland-uri-clojure",
            "purl": "pkg:deb/ubuntu/lambdaisland-uri-clojure?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.13.95-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28628.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblambdaisland-uri-clojure",
                "binary_version": "1.13.95-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lambdaisland-uri-clojure",
            "purl": "pkg:deb/ubuntu/lambdaisland-uri-clojure?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.13.95-2ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28628.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblambdaisland-uri-clojure",
                "binary_version": "1.13.95-2ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lambdaisland-uri-clojure",
            "purl": "pkg:deb/ubuntu/lambdaisland-uri-clojure?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.13.95-2",
            "1.13.95-2build1",
            "1.13.95-2build2",
            "1.13.95-2ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28628.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblambdaisland-uri-clojure",
                "binary_version": "1.13.95-2ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:17.287994278Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-28628"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2023-28628",
        "https://github.com/lambdaisland/uri/security/advisories/GHSA-cp4w-6x4w-v2h5",
        "https://github.com/lambdaisland/uri/commit/f46db3e84846f79e14bfee0101d9c7a872321820",
        "https://www.cve.org/CVERecord?id=CVE-2023-28628",
        "https://ubuntu.com/security/notices/USN-8151-1"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-28628",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 357108,
  "published_at": "2023-03-27T21:15:00+00:00"
}