CVE-2022-24999
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).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
qsnpm | >= 6.10.0, < 6.10.3 | 6.10.3 |
qsnpm | >= 6.9.0, < 6.9.7 | 6.9.7 |
qsnpm | >= 6.8.0, < 6.8.3 | 6.8.3 |
qsnpm | >= 6.7.0, < 6.7.3 | 6.7.3 |
qsnpm | >= 6.6.0, < 6.6.1 | 6.6.1 |
qsnpm | >= 6.5.0, < 6.5.3 | 6.5.3 |
qsnpm | >= 6.4.0, < 6.4.1 | 6.4.1 |
qsnpm | >= 6.3.0, < 6.3.3 | 6.3.3 |
qsnpm | < 6.2.4 | 6.2.4 |
Affected products
14cpe:2.3:a:qs_project:qs:*:*:*:*:*:node.js:*:*+ 2 more
- cpe:2.3:a:qs_project:qs:*:*:*:*:*:node.js:*:*range: <6.2.4
- cpe:2.3:a:qs_project:qs:6.4.0:*:*:*:*:node.js:*:*
- cpe:2.3:a:qs_project:qs:6.6.0:*:*:*:*:node.js:*:*
- qs/qsdescription
- ghsa-coords8 versionspkg:npm/qspkg:rpm/almalinux/nodejspkg:rpm/almalinux/nodejs-develpkg:rpm/almalinux/nodejs-docspkg:rpm/almalinux/nodejs-full-i18npkg:rpm/almalinux/nodejs-nodemonpkg:rpm/almalinux/nodejs-packagingpkg:rpm/almalinux/npm
>= 6.10.0, < 6.10.3+ 7 more
- (no CPE)range: >= 6.10.0, < 6.10.3
- (no CPE)range: < 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
- (no CPE)range: < 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
- (no CPE)range: < 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
- (no CPE)range: < 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
- (no CPE)range: < 2.0.20-2.module_el8.7.0+3373+a4c18c43
- (no CPE)range: < 23-3.module_el8.4.0+2522+3bd42762
- (no CPE)range: < 1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43
Patches
Vulnerability mechanics
References
16- github.com/ljharb/qs/pull/428nvdIssue TrackingPatchWEB
- github.com/advisories/GHSA-hrpp-h998-j3ppghsaADVISORY
- lists.debian.org/debian-lts-announce/2023/01/msg00039.htmlnvdMailing ListThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-24999ghsaADVISORY
- github.com/expressjs/express/releases/tag/4.17.3nvdRelease NotesWEB
- github.com/ljharb/qs/commit/4310742efbd8c03f6495f07906b45213da0a32ecghsaWEB
- github.com/ljharb/qs/commit/727ef5d34605108acb3513f72d5435972ed15b68ghsaWEB
- github.com/ljharb/qs/commit/73205259936317b40f447c5cdb71c5b341848e1bghsaWEB
- github.com/ljharb/qs/commit/8b4cc14cda94a5c89341b77e5fe435ec6c41be2dghsaWEB
- github.com/ljharb/qs/commit/ba24e74dd17931f825adb52f5633e48293b584e1ghsaWEB
- github.com/ljharb/qs/commit/e799ba57e573a30c14b67c1889c7c04d508b9105ghsaWEB
- github.com/ljharb/qs/commit/ed0f5dcbef4b168a8ae299d78b1e4a2e9b1baf1fghsaWEB
- github.com/ljharb/qs/commit/f945393cfe442fe8c6e62b4156fd35452c0686eeghsaWEB
- github.com/ljharb/qs/commit/fc3682776670524a42e19709ec4a8138d0d7afdaghsaWEB
- security.netapp.com/advisory/ntap-20230908-0005ghsaWEB
- security.netapp.com/advisory/ntap-20230908-0005/nvd
News mentions
0No linked articles in our index yet.