GHSA-jjv7-qpx3-h62q — qs
Fix: raymondfeng/node-querystring@43a604bGHSA-jjv7-qpx3-h62q is a CWE-399 vulnerability in qs. A fix is available for qs — see the affected versions and patch details below.
Denial-of-Service Memory Exhaustion in qs
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
qsnpmDescription
Versions prior to 1.0 of qs are affected by a denial of service condition. This condition is triggered by parsing a crafted string that deserializes into very large sparse arrays, resulting in the process running out of memory and eventually crashing.
Recommendation
Update to version 1.0.0 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | qs | all versions | 1.0.0npm install qs@1.0.0 |
Affected Products
node.jsnodejsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for qs, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update qs to 1.0.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-jjv7-qpx3-h62q is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This package is not shipped with any versions of Red Hat Enterprise Linux. Red Hat Software Collections Library components shipping in version 2.2 are affected.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | nodejs010-node-gyp-0:3.2.0-3.el6 | RHSA-2016:1380 |
Frequently Asked Questions
Is GHSA-jjv7-qpx3-h62q in your dependencies?
Find it across npm, including transitive dependencies.