HighGHSA-hrpp-h998-j3ppCVE-2022-24999

qs vulnerable to Prototype Pollution

Published 27 Nov 2022 · Updated 29 Apr 2025

Affected packages

qsnpm
Affected
>=6.10.0 <6.10.3
Fixed in
6.10.3
Update to the fixed version for your release line, for example:npm install qs@6.10.3
qsnpm
Affected
>=6.9.0 <6.9.7
Fixed in
6.9.7
Update to the fixed version for your release line, for example:npm install qs@6.9.7
qsnpm
Affected
>=6.8.0 <6.8.3
Fixed in
6.8.3
Update to the fixed version for your release line, for example:npm install qs@6.8.3
qsnpm
Affected
>=6.7.0 <6.7.3
Fixed in
6.7.3
Update to the fixed version for your release line, for example:npm install qs@6.7.3
qsnpm
Affected
>=6.6.0 <6.6.1
Fixed in
6.6.1
Update to the fixed version for your release line, for example:npm install qs@6.6.1
qsnpm
Affected
>=6.5.0 <6.5.3
Fixed in
6.5.3
Update to the fixed version for your release line, for example:npm install qs@6.5.3
qsnpm
Affected
>=6.4.0 <6.4.1
Fixed in
6.4.1
Update to the fixed version for your release line, for example:npm install qs@6.4.1
qsnpm
Affected
>=6.3.0 <6.3.3
Fixed in
6.3.3
Update to the fixed version for your release line, for example:npm install qs@6.3.3
qsnpm
Affected
<6.2.4
Fixed in
6.2.4
Update to the fixed version for your release line, for example:npm install qs@6.2.4

Details

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.

Is GHSA-hrpp-h998-j3pp in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected qs, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.