Description
The qs module before 1.0.0 does not have an option or default for specifying object depth and when parsing a string representing a deeply nested object will block the event loop for long periods of time. An attacker could leverage this to cause a temporary denial-of-service condition, for example, in a web application, other requests would not be processed while this blocking is occurring.
Remediation
References
https://nodesecurity.io/advisories/28
Related Vulnerabilities
CVE-2017-16113 Vulnerability in npm package parsejson
CVE-2021-21351 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2020-16041 Vulnerability in maven package org.webjars.npm:electron
CVE-2021-41182 Vulnerability in maven package org.webjars.bower:jquery-ui
CVE-2020-8215 Vulnerability in maven package org.webjars.npm:canvas