{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-16021","id":"CVE-2017-16021","title":"uri-js is a module that tries to fully implement RFC 3986","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 vulnera","descriptionLong":"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.","published":"2018-06-04T19:00:00.000Z","updated":"2026-06-17T01:08:39.330Z","reserved":"2017-10-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:L/Au:S/C:N/I:N/A:C","rating":"medium","source":"NVD"}],"rating":"medium","products":["HackerOne uri-js node module"],"affectedProducts":[{"vendor":"HackerOne","product":"uri-js node module","defaultStatus":null,"versions":[{"status":"affected","version":"<=2.1.1"}],"platforms":[]}],"packages":[],"cwes":["CWE-400","CWE-1333"],"aliases":[],"references":[{"url":"https://github.com/garycourt/uri-js/issues/12","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://nodesecurity.io/advisories/100","tags":["x_refsource_MISC","x_transferred","Broken Link","Third Party Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01313,"epssPercentile":0.71278,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-16021","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16021","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-16021","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-16021","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}