CVE-2022-24999
Qs Project Qs vulnerability
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).
Affected products
Qs, Express, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Qs Project Qs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ljharb/qs/pull/428 · Patch
- github.com/n8tz/CVE-2022-24999 · Exploit
- lists.debian.org/debian-lts-announce/2023/01/msg00039.html · Third Party Advisory
- github.com/expressjs/express/releases/tag/4.17.3
- security.netapp.com/advisory/ntap-20230908-0005/
- nvd.nist.gov/vuln/detail/CVE-2022-24999
- github.com/ljharb/qs/commit/4310742efbd8c03f6495f07906b45213da0a32ec
- github.com/ljharb/qs/commit/727ef5d34605108acb3513f72d5435972ed15b68
- nvd.nist.gov/vuln/detail/CVE-2022-24999
- cve.org/CVERecord?id=CVE-2022-24999
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.