CVEfocus › CVE database › CVE-2022-24723

CVE-2022-24723Improper Input Validation in URI.js

CVSS 5.3 MediumEPSS 1.7% (higher than 78% of CVEs)Published 2022-03-03Updated 2025-04-22Assigner: GitHub_M

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.

CWE-20

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

1Fixed
1Fix pending
3Under investigation
25Will 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.10node-uri-jsFix pendingUBUNTU-CVE-2022-24723
Ubuntu 26.04node-uri-jsUnder investigationUBUNTU-CVE-2022-24723
Ubuntu 25.10node-uri-jsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-24723
Ubuntu 24.04node-uri-jsUnder investigationUBUNTU-CVE-2022-24723
Ubuntu 22.04node-uri-jsUnder investigationUBUNTU-CVE-2022-24723
Ubuntu 20.04node-uri-jsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-24723
Red Hat Enterprise Linux 8aspnetcore-runtime-3.1Will not fix
Will not fix
Red Hat Enterprise Linux 8aspnetcore-runtime-5.0Will not fix
Will not fix
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-3.1Will not fix
Will not fix
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-5.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnetWill not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-apphost-pack-3.1Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-apphost-pack-5.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-hostWill not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-hostfxr-3.1Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-hostfxr-5.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-runtime-3.1Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-runtime-5.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-sdk-3.1Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-sdk-3.1-source-built-artifactsWill not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-sdk-5.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-sdk-5.0-source-built-artifactsWill not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-targeting-pack-3.1Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-targeting-pack-5.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-templates-3.1Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-templates-5.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet3.1Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet5.0Will not fix
Will not fix
Red Hat Enterprise Linux 8netstandard-targeting-pack-2.1Will not fix
Will not fix
npm libraryurijsFixed1.19.9GHSA-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.

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.