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-2018-19057 Vulnerability in maven package org.webjars.npm:simplemde
CVE-2020-6422 Vulnerability in npm package electron
CVE-2019-11003 Vulnerability in npm package materialize-css
CVE-2020-7704 Vulnerability in npm package linux-cmdline
CVE-2022-23541 Vulnerability in maven package org.webjars.npm:jsonwebtoken