VDB
Sign up
HIGH

GHSA-jjv7-qpx3-h62q

Denial-of-Service Memory Exhaustion in qs

Quick fix

GHSA-jjv7-qpx3-h62q — qs: upgrade to the fixed version with the command below.

npm install qs@1.0.0

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/qs
Introduced in: 0Fixed in: 1.0.0
Fixnpm install qs@1.0.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:npm/qs"]}'