CVE-2022-24999Qs Project Qs
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Qs Project · Qs Project Qs We alert you by email or Slack (account required).
- Priority
- 62
- CVSS 3.1
- 7.5
- EPSS
- 20.0% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Nov 26, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
qs before 6.10.3, as used in Express before 4.17.3 and other products, allows attackers to cause a Node process hang for an Express application because an __ proto__ key can be used. In many typical Express 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 (and therefore Express 4.17.3, which has "deps: qs@6.9.7" in its release description, is not vulnerable).
What to do
- Apply the vendor's security update for Qs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | qs |
≥ 6.10.0 < 6.10.3 |
6.10.3 |
npm install qs@6.10.3 |
| npm | qs |
≥ 6.9.0 < 6.9.7 |
6.9.7 |
npm install qs@6.9.7 |
| npm | qs |
≥ 6.8.0 < 6.8.3 |
6.8.3 |
npm install qs@6.8.3 |
| npm | qs |
≥ 6.7.0 < 6.7.3 |
6.7.3 |
npm install qs@6.7.3 |
| npm | qs |
≥ 6.6.0 < 6.6.1 |
6.6.1 |
npm install qs@6.6.1 |
| npm | qs |
≥ 6.5.0 < 6.5.3 |
6.5.3 |
npm install qs@6.5.3 |
| npm | qs |
≥ 6.4.0 < 6.4.1 |
6.4.1 |
npm install qs@6.4.1 |
| npm | qs |
≥ 6.3.0 < 6.3.3 |
6.3.3 |
npm install qs@6.3.3 |
| npm | qs |
< 6.2.4 |
6.2.4 |
npm install qs@6.2.4 |
Per OSV / GitHub Advisories (GHSA-hrpp-h998-j3pp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| qs_project | qs | < 6.2.4 |
| qs_project | qs | ≥ 6.3.0 < 6.3.3 |
| qs_project | qs | ≥ 6.5.0 < 6.5.3 |
| qs_project | qs | ≥ 6.7.0 < 6.7.3 |
| qs_project | qs | ≥ 6.8.0 < 6.8.3 |
| qs_project | qs | ≥ 6.9.0 < 6.9.7 |
| qs_project | qs | ≥ 6.10.0 < 6.10.3 |
| qs_project | qs | 6.4.0 |
| qs_project | qs | 6.6.0 |
| openjsf | express | < 4.17.3 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Issue Tracking Patch
- github.com Exploit Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.netapp.com