GHSA-hrpp-h998-j3pp

qs vulnerable to Prototype Pollution

At a glance

Published
Updated
CVE
CVE-2022-24999
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

qs before 6.10.3 allows attackers to cause a Node process hang because an `__ proto__` key can be used. In many typical web framework use cases, an unauthenticated remote attacker can place the attack payload in the query string of the URL that is used to visit the application, such as `a[__proto__]=b&a[__proto__]&a[length]=100000000`. The fix was backported to qs 6.9.7, 6.8.3, 6.7.3, 6.6.1, 6.5.3, 6.4.1, 6.3.3, and 6.2.4.

Affected packages

PackageVersions
npm · qsintroduced 6.10.0, fixed 6.10.3
npm · qsintroduced 6.9.0, fixed 6.9.7
npm · qsintroduced 6.8.0, fixed 6.8.3
npm · qsintroduced 6.7.0, fixed 6.7.3
npm · qsintroduced 6.6.0, fixed 6.6.1
npm · qsintroduced 6.5.0, fixed 6.5.3
npm · qsintroduced 6.4.0, fixed 6.4.1
npm · qsintroduced 6.3.0, fixed 6.3.3
npm · qsintroduced 0, fixed 6.2.4

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database