Bug 1146045

Summary: nodejs-qs: Denial-of-Service Memory Exhaustion
Product: [Other] Security Response Reporter: T.C. Hollingsworth <tchollingsworth>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jamielinux, wmealing
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-24 11:32:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description T.C. Hollingsworth 2014-09-24 11:09:29 UTC
Dustin Shiver of the Node Security Project reports:

The qs module has the ability to create sparse arrays during parsing. By specifying a high index it is possible to create a large array that will eventually take up all the allocated memory of the running process, resulting in a crash.

Source: https://nodesecurity.io/advisories/qs_dos_memory_exhaustion
Upstream bug: https://github.com/visionmedia/node-querystring/issues/104

CVE request: http://openwall.com/lists/oss-security/2014/09/24/1

Comment 1 T.C. Hollingsworth 2014-09-24 11:32:20 UTC
Jinx. :-)

*** This bug has been marked as a duplicate of bug 1146054 ***

Comment 2 Wade Mealing 2016-06-09 00:38:00 UTC
Nice report though.