Bug 1588785 (CVE-2017-16118)

Summary: CVE-2017-16118 nodejs-forwarded: regular expression denial of service when parsing crafted user input
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ahardin, bleanhar, ccoleman, dedgar, dffrench, drusso, jgoulding, jmadigan, jokerman, jshepherd, jsmith.fedora, lgriffin, mchappel, ngough, pwright, rrajasek, trepel
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nodejs-forwarded 0.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:28:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1588786    
Bug Blocks: 1588787    

Description Pedro Sampaio 2018-06-07 20:45:42 UTC
The forwarded module is used by the Express.js framework to handle the X-Forwarded-For header. It is vulnerable to a regular expression denial of service when it's passed specially crafted input to parse. This causes the event loop to be blocked causing a denial of service condition.

References:

https://nodesecurity.io/advisories/527

Comment 1 Pedro Sampaio 2018-06-07 20:46:15 UTC
Created nodejs-forwarded tracking bugs for this issue:

Affects: fedora-all [bug 1588786]