CVE-2022-24723Improper Input Validation in URI.js
URI.js is a Javascript URL mutation library. Before version 1.19.9, whitespace characters are not removed from the beginning of the protocol, so URLs are not parsed properly. This issue has been patched in version 1.19.9. Removing leading whitespace from values before passing them to URI.parse can be used as a workaround.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Ubuntu has 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-uri-js | Fix pending | UBUNTU-CVE-2022-24723 | |
| Ubuntu 26.04 | node-uri-js | Under investigation | UBUNTU-CVE-2022-24723 | |
| Ubuntu 25.10 | node-uri-js | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-24723 | |
| Ubuntu 24.04 | node-uri-js | Under investigation | UBUNTU-CVE-2022-24723 | |
| Ubuntu 22.04 | node-uri-js | Under investigation | UBUNTU-CVE-2022-24723 | |
| Ubuntu 20.04 | node-uri-js | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-24723 | |
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-3.1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-5.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-3.1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-5.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-3.1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-5.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-host | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-3.1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-5.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-3.1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-5.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-3.1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-3.1-source-built-artifacts | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-5.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-5.0-source-built-artifacts | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-3.1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-5.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-templates-3.1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-templates-5.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet3.1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet5.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | netstandard-targeting-pack-2.1 | Will not fix Will not fix | ||
| npm library | urijs | Fixed | 1.19.9 | GHSA-gmv4-r438-p67f |
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.
- medialize URI.js: affected: < 1.19.9
References
- https://github.com/medialize/URI.js/security/advisories/GHSA-gmv4-r438-p67f
- https://github.com/medialize/uri.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316
- https://github.com/medialize/URI.js/releases/tag/v1.19.9
- https://huntr.dev/bounties/82ef23b8-7025-49c9-b5fc-1bb9885788e5/
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.