Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2017-16021 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/garycourt/uri-js/issues/12 CVEExploitIssue TrackingThird Party Advisory
https://nodesecurity.io/advisories/100 CVEBroken LinkThird Party Advisory
https://github.com/garycourt/uri-js/issues/12 [email protected]ExploitIssue TrackingThird Party Advisory
https://nodesecurity.io/advisories/100 [email protected]Broken LinkThird Party Advisory

Weakness Enumeration

CWE-IDCWE NameSource
CWE-1333Inefficient Regular Expression Complexity[email protected]
CWE-400Uncontrolled Resource Consumption[email protected]

Affected Products

ProductVersions
garycourt uri-js
<= 2.1.1

CPE

  • cpe:2.3:a:garycourt:uri-js:*:*:*:*:*:node.js:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2017-16021
NVD Published Date:
Jun 4, 2018
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2017-16021 Details - Not Deferred