CVEfocus › CVE database › CVE-2022-24999

CVE-2022-24999

CVSS 7.5 HighEPSS 6.6% (higher than 95% of CVEs)Published 2022-11-26Updated 2025-04-29Assigner: mitre

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).

CWE-1321

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed
4Fix pending
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04node-qsNot affected
vulnerable_code_not_present
Ubuntu 22.04node-qsNot affected
vulnerable_code_not_present
Ubuntu 20.04node-expressFix pending4.17.1-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2022-24999
Ubuntu 20.04node-qsFix pending6.9.1+ds-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2022-24999
Ubuntu 16.04node-expressFix pending
Ubuntu 14.04node-expressFix pending
Debian 14node-qsFixed6.10.3+ds+~6.9.7-1DEBIAN-CVE-2022-24999
Debian 13node-qsFixed6.10.3+ds+~6.9.7-1DEBIAN-CVE-2022-24999
Debian 12node-qsFixed6.10.3+ds+~6.9.7-1DEBIAN-CVE-2022-24999
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Enterprise Linux 9nodejs-docsNot affected
Red Hat Enterprise Linux 9nodejs-full-i18nNot affected
Red Hat Enterprise Linux 9nodejs-libsNot affected
Red Hat Enterprise Linux 9npmNot affected
Red Hat Enterprise Linux 8nodejsFixed1:14.21.1-2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hat Enterprise Linux 8nodejs-develFixed1:14.21.1-2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hat Enterprise Linux 8nodejs-docsFixed1:14.21.1-2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:14.21.1-2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hat Enterprise Linux 8nodejs-libsNot affected
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:2.0.20-2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hat Enterprise Linux 8nodejs-packagingFixed0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2023:0050
Red Hat Enterprise Linux 8nodejs-packaging-bundlerNot affected
Red Hat Enterprise Linux 8npmFixed1:6.14.17-1.14.21.1.2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hat Enterprise Linux 8v8-12.4-develNot affected
Red Hat Enterprise Linux 8v8-13.6-develNot affected
AlmaLinux 8nodejsFixed1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux 8nodejs-develFixed1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux 8nodejs-docsFixed1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux 8nodejs-full-i18nFixed1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux 8nodejs-nodemonFixed2.0.20-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux 8nodejs-packagingFixed23-3.module_el8.4.0+2522+3bd42762ALSA-2023:0050
AlmaLinux 8npmFixed1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
Rocky Linux 8nodejsFixed1:14.21.1-2.module+el8.7.0+1116+bd2a84b4RLSA-2023:0050
Rocky Linux 8nodejs-nodemonFixed0:2.0.20-2.module+el8.7.0+1108+49363b0dRLSA-2023:0050
Rocky Linux 8nodejs-packagingFixed0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2023:0050
npm libraryqsFixed6.2.4GHSA-hrpp-h998-j3pp

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.