| Package | Affected versions | Patched versions |
|---|
| qs | < 1.0.0
| 1.0.0
|
| qs npm | < 1.0.0
| 1.0.0
|
Description
Versions prior to 1.0.0 of qs are affected by a denial of service vulnerability that results from excessive recursion in parsing a deeply nested JSON string.
Recommendation
Update to version 1.0.0 or later
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free