{"id":"CVE-2022-24999","published":"2022-11-26T00:00:00Z","modified":"2025-04-29T13:56:42Z","title":"qs before 6.10.3, as used in Express before 4.17.3 and other products, allows attackers to cause a Node process hang…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.06612,"percentile":0.94622,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/expressjs/express/releases/tag/4.17.3","tags":[]},{"url":"https://github.com/ljharb/qs/pull/428","tags":[]},{"url":"https://github.com/n8tz/CVE-2022-24999","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00039.html","tags":["mailing-list"]},{"url":"https://security.netapp.com/advisory/ntap-20230908-0005/","tags":[]}],"priority":{"score":29.2,"factors":[{"name":"EPSS percentile","points":18.92},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-04-18","earliestUrl":"https://github.com/9pings/CVE-2022-24999","repos":[{"name":"9pings/CVE-2022-24999","url":"https://github.com/9pings/CVE-2022-24999","stars":8,"created":"2022-04-18"}]},"first":{"date":"2022-04-18","source":"PoC-in-GitHub","url":"https://github.com/9pings/CVE-2022-24999"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-29T13:56:22.823843Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"qs","vulnerableRanges":[">=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.6.1",">=6.5.0, <6.5.3",">=6.4.0, <6.4.1",">=6.3.0, <6.3.3","<6.2.4"],"patched":["6.10.3","6.9.7","6.8.3","6.7.3","6.6.1","6.5.3","6.4.1","6.3.3","6.2.4"],"from":["GHSA-hrpp-h998-j3pp"],"provenance":"source"}],"summary":{"text":"The flaw is in the qs library (versions before 6.10.3), which is used by Express (versions before 4.17.3) and other products, where an __proto__ key is not handled safely, allowing modification of object prototype attributes. An unauthenticated remote attacker can exploit this in many typical Express applications by placing a crafted payload such as a[__proto__]=b&a[__proto__]&a[length]=100000000 in the URL query string, causing the Node process to hang.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:02:45Z"},"euvd":{"id":"EUVD-2022-7366","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-qs-cve-2017-1000048","parents":[{"from":"CVE-2017-1000048","to":"CVE-2022-24999","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/parse.js"],"commits":["https://github.com/ljharb/qs/commit/beade029171b8cef9cee0d03ebe577e2dd84976d","https://github.com/ljharb/qs/commit/4310742efbd8c03f6495f07906b45213da0a32ec","https://github.com/ljharb/qs/commit/727ef5d34605108acb3513f72d5435972ed15b68"],"basis":"shared function","functions":["parseObjectRecursive"]}]}]}}