Bug 1588799 (CVE-2018-3717)

Summary: CVE-2018-3717 nodejs-connect: XSS due to a lack of validation of file in directory.js middleware
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: cmacedo, dffrench, drusso, jmadigan, jshepherd, lgriffin, ngough, pwright, rrajasek, tchollingsworth, trepel
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:28:08 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: 1588800, 1588801    
Bug Blocks: 1588802    

Description Pedro Sampaio 2018-06-07 21:13:20 UTC
connect node module before 2.14.0 suffers from a Cross-Site Scripting (XSS) vulnerability due to a lack of validation of file in directory.js middleware.

Upstream patch:

https://github.com/senchalabs/connect/commit/6d5dd30075d2bc4ee97afdbbe3d9d98d8d52d74b

References:

https://hackerone.com/reports/309394
https://hackerone.com/reports/309641

Comment 1 Pedro Sampaio 2018-06-07 21:14:08 UTC
Created nodejs-connect tracking bugs for this issue:

Affects: epel-6 [bug 1588800]
Affects: fedora-all [bug 1588801]