CVE-2017-16021

CVSS V2 Medium 6.8 CVSS V3 Medium 6.5
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.
Overview
  • CVE ID
  • CVE-2017-16021
  • Assigner
  • support@hackerone.com
  • Vulnerability Status
  • Modified
  • Published Version
  • 2018-06-04T19:29:01
  • Last Modified Date
  • 2019-10-09T23:24:37
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:uri-js_project:uri-js:*:*:*:*:*:node.js:*:* 1 OR 2.1.1
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:S/C:N/I:N/A:C
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • SINGLE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • NONE
  • Availability Impact
  • COMPLETE
  • Base Score
  • 6.8
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8
  • Impact Score
  • 6.9
CVSS Version 3
  • Version
  • 3.0
  • Vector String
  • CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • LOW
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • HIGH
  • Base Score
  • 6.5
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 2.8
  • Impact Score
  • 3.6
References
Reference URL Reference Tags
https://nodesecurity.io/advisories/100 Third Party Advisory
https://github.com/garycourt/uri-js/issues/12 Exploit Issue Tracking Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 17:11:09 Added to TrackCVE
2022-12-03 07:09:24 cve-assignments@hackerone.com support@hackerone.com CVE Assigner updated
2022-12-03 07:09:24 2018-06-04T19:29Z 2018-06-04T19:29:01 CVE Published Date updated
2022-12-03 07:09:24 2019-10-09T23:24:37 CVE Modified Date updated
2022-12-03 07:09:24 Modified Vulnerability Status updated