Bug 1588824 (CVE-2017-16021) - CVE-2017-16021 nodejs-uri-js: regular expression denial of service vulnerability in parse method
Summary: CVE-2017-16021 nodejs-uri-js: regular expression denial of service vulnerabil...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2017-16021
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1588825
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-07 22:42 UTC by Laura Pardo
Modified: 2020-11-05 10:32 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:28:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-06-07 22:42:15 UTC
A flaw was found in uri-js versions 2.1.1 and earlier. uri-js uses a regular expression to validate an URL. This regular expression is vulnerable to redos which 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. 


References:
https://github.com/garycourt/uri-js/issues/12 	
https://nodesecurity.io/advisories/100 	

Patch:
https://github.com/garycourt/uri-js/pull/17

Comment 1 Laura Pardo 2018-06-07 22:42:43 UTC
Created nodejs-uri-js tracking bugs for this issue:

Affects: fedora-all [bug 1588825]

Comment 2 Product Security DevOps Team 2019-06-10 10:28:18 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.