uri-js is a module that tries to fully implement RFC 3986
Published Jun 4, 2018
6.5
MEDIUMCVSS 3.1
EPSS 1.34%
Description
uri-js is a module that tries to fully implement RFC 3986. One of these features is validating whether or not a supplied URL is valid or not. To do this, uri-js uses a regular expression, This regular expression is vulnerable to redos. This causes the program to hang and the CPU to idle at 100% usage while uri-js is trying to validate if the supplied URL is valid or not. To check if you're vulnerable, look for a call to `require("uri-js").parse()` where a user is able to send their own input. This affects uri-js 2.1.1 and earlier.
Affected products
-
- Version <=2.1.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| HackerOne | Uri-JS Node Module | n/a |
|
No data.
No Red Hat product state for this CVE.
uri-js
npm
Introduced 0 Fixed 3.0.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | uri-js | 0 | 3.0.0 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:S/C:N/I:N/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 4, 2026.
Score over time
2021-2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (10 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 4, 2026 | 1.34% (0.01342) | 70.38th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.34% (0.01342) | 70.09th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.07% (0.00072) | 31.46th | v3 (v2023.03.01) |
| May 15, 2024 | 0.07% (0.00072) | 30.41th | v3 (v2023.03.01) |
| Oct 26, 2023 | 0.07% (0.00068) | 28.40th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.07% (0.00074) | 29.99th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.62% (0.00624) | 17.80th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (5)
- https://github.com/advisories/GHSA-333w-rxj3-f55r Advisory
- https://github.com/garycourt/uri-js/issues/12 x_refsource_MISCExploitIssue TrackingThird Party Advisory
- https://nodesecurity.io/advisories/100 x_refsource_MISCBroken LinkThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-16021
- https://www.npmjs.com/advisories/100
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-333w-rxj3-f55r | Advisory | |
| https://github.com/garycourt/uri-js/issues/12 | x_refsource_MISCExploitIssue TrackingThird Party Advisory | |
| https://nodesecurity.io/advisories/100 | x_refsource_MISCBroken LinkThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-16021 | ||
| https://www.npmjs.com/advisories/100 |
Change history (0)
No recorded changes yet.