CVE-2022-24723 json
Improper Input Validation in URI.js
published 2022-03-03 4 y ago modified 2026-06-17 4 mo ago also GHSA-gmv4-r438-p67f , EUVD-2022-1428
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm urijs 1.19.9
- uri.js_project uri.js 1.19.9
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-24723 updated cvss 5.3
urijs: Leading white space bypasses protocol validation
-
Red Hat .NET Core 3.1 on Red Hat Enterprise Linux rh-dotnet31-dotnet, rh-dotnet31-dotnet-host, rh-dotnet31-dotnet-sdk-3.1, rh-dotnet31-dotnet-hostfxr-3.1, rh-dotnet31-dotnet-runtime-3.1, rh-dotnet31-dotnet-templates-3.1, +6 moreaffected: no fix available
-
Red Hat .NET Core 5.0 on Red Hat Enterprise Linux rh-dotnet50-dotnet, rh-dotnet50-dotnet-host, rh-dotnet50-dotnet-sdk-5.0, rh-dotnet50-dotnet-hostfxr-5.0, rh-dotnet50-dotnet-runtime-5.0, rh-dotnet50-dotnet-templates-5.0, +6 moreaffected: no fix planned “Out of support scope”
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/mcm-topology-rhel8, rhacm2/application-ui-rhel8affected: no fix available, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 8 dotnet, dotnet3.1, dotnet5.0, dotnet-host, dotnet-sdk-3.1, dotnet-sdk-5.0, +17 more Red Hat Quay 3 quay/quay-rhel8affected: no fix planned “Will not fix”
-
Red Hat Fuse 7.11.1fixed: vendor fix RHSA-2022:8652
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.94% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/82ef23b8-7025-49c9-b5fc-1bb9885788e5/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | urijs | <1.19.9 |
1.19.9 |
Affected products
- medialize URI.js
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/medialize/uri.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316
patch, third-party-advisory
-
huntr.dev
/bounties/82ef23b8-7025-49c9-b5fc-1bb9885788e5/
exploit, issue-tracking, patch, third-party-advisory
-
github.com
/medialize/URI.js/commit/86d10523a6f6e8dc4300d99d671335ee362ad316
web
-
github.com
/medialize/URI.js/security/advisories/GHSA-gmv4-r438-p67f
web, mitigation, third-party-advisory
-
github.com
/medialize/URI.js/releases/tag/v1.19.9
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24723
advisory
-
github.com
/medialize/URI.js
web
-
huntr.dev
/bounties/82ef23b8-7025-49c9-b5fc-1bb9885788e5
web
Sources
- CVE List CVE-2022-24723
- GitHub Advisory GHSA-gmv4-r438-p67f
- NVD CVE-2022-24723
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.