CVE-2022-24999: qs - Prototype Pollution
- Cve: CVE-2022-24999
- Name: qs - Prototype Pollution
- Description: 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: [email protected]" in its release description, is not vulnerable).
- Impact: Remote attackers can cause the Node process to hang, leading to denial of service in Express applications.
- Remediation: Update qs to version 6.10.3 or later.
- Vulnerability type: prototype_pollution
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.20035
- Epss percentile: 0.97489
- Assignee: [email protected]
- Published at: 2022-11-26T22:15:10Z
- Age in days: 1459
- Modified at: 2026-06-17T04:32:55Z
- Patch available: yes
- Public exploits total: 2
- References total: 5
- Products total: 3
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-24999
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/n8tz/CVE-2022-24999 | nvd | 2022-11-26 |
| https://github.com/9pings/CVE-2022-24999 | poc-in-github | 2022-04-18 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/ljharb/qs/pull/428 | Issue Tracking, Patch |
| https://github.com/n8tz/CVE-2022-24999 | Exploit, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2023/01/msg00039.html | Mailing List, Third Party Advisory |
| https://github.com/expressjs/express/releases/tag/4.17.3 | Release Notes |
| https://security.netapp.com/advisory/ntap-20230908-0005/ |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| openjsf:express | < 4.17.3 | /v1/products/openjsf/express |
| qs_project:qs | >= 6.10.0, < 6.10.3; >= 6.9.0, < 6.9.7; >= 6.8.0, < 6.8.3; >= 6.7.0, < 6.7.3; = 6.6.0; >= 6.5.0, < 6.5.3; = 6.4.0; >= 6.3.0, < 6.3.3; < 6.2.4 | /v1/products/qs_project/qs |
| debian:debian_linux | = 10.0 | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| expressjs/express | releases | yes | /v1/repositories/expressjs/express |
| ljharb/qs | commit, package, pull | yes | /v1/repositories/ljharb/qs |
Index
- Repositories: 944
- Repositories high signal: 210
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-04-18
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since