cve.bz

CVE-2022-24999 Prototype Pollution

7.5 highExploit referenceEPSS 16%Fix available

High (7.5). EPSS 16% estimated probability of exploitation activity in the next 30 days. Fixed in qs 6.10.3, 6.2.4, 6.3.3.

On this page
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).

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
16% (unchanged from 16% a week ago; 16% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-04-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-24999 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24999?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24999?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24999 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qs_project:qsbefore 6.2.4
qs_project:qsfrom 6.3.0 before 6.3.3
qs_project:qsfrom 6.5.0 before 6.5.3
qs_project:qsfrom 6.7.0 before 6.7.3
qs_project:qsfrom 6.8.0 before 6.8.3
qs_project:qsfrom 6.9.0 before 6.9.7
qs_project:qsfrom 6.10.0 before 6.10.3
qs_project:qs6.4.0
qs_project:qs6.6.0
openjsf:expressbefore 4.17.3
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hrpp-h998-j3ppnpmqs>=6.10.0 <6.10.36.10.3
GHSA-hrpp-h998-j3ppnpmqs>=6.9.0 <6.9.76.9.7
GHSA-hrpp-h998-j3ppnpmqs>=6.8.0 <6.8.36.8.3
GHSA-hrpp-h998-j3ppnpmqs>=6.7.0 <6.7.36.7.3
GHSA-hrpp-h998-j3ppnpmqs>=6.6.0 <6.6.16.6.1
GHSA-hrpp-h998-j3ppnpmqs>=6.5.0 <6.5.36.5.3
GHSA-hrpp-h998-j3ppnpmqs>=6.4.0 <6.4.16.4.1
GHSA-hrpp-h998-j3ppnpmqs>=6.3.0 <6.3.36.3.3
GHSA-hrpp-h998-j3ppnpmqs<6.2.46.2.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10node-qs6.5.2-1+deb10u1DLA-3299-1
Debian12, 13, 14node-qs6.10.3+ds+~6.9.7-1DEBIAN-CVE-2022-24999
UbuntuPro:20.04:LTSnode-express4.17.1-2ubuntu0.1~esm2UBUNTU-CVE-2022-24999
UbuntuPro:20.04:LTSnode-qs6.9.1+ds-1ubuntu0.1~esm1UBUNTU-CVE-2022-24999 USN-7693-1
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.21.1-2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.20-2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2023:0050
Red Hatenterprise_linux:8::appstreamnpm1:6.14.17-1.14.21.1.2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hatrhel_eus:8.4::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.21.3-1.module+el8.4.0+18317+43f5ac16RHSA-2023:1533
Red Hatrhel_eus:8.4::appstreamnodejs-nodemon0:2.0.20-3.module+el8.4.0+18317+43f5ac16RHSA-2023:1533
Red Hatrhel_eus:8.4::appstreamnodejs-packaging0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2023:1533
Red Hatrhel_eus:8.4::appstreamnpm1:6.14.18-1.14.21.3.1.module+el8.4.0+18317+43f5ac16RHSA-2023:1533
Red Hatrhel_eus:8.6::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.21.3-1.module+el8.6.0+18532+cbe6f646RHSA-2023:1742
Red Hatrhel_eus:8.6::appstreamnodejs-nodemon0:2.0.20-3.module+el8.6.0+18532+cbe6f646RHSA-2023:1742
Red Hatrhel_eus:8.6::appstreamnodejs-packaging0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2023:1742
Red Hatrhel_eus:8.6::appstreamnpm1:6.14.18-1.14.21.3.1.module+el8.6.0+18532+cbe6f646RHSA-2023:1742
3 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux8nodejs-nodemon2.0.20-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2023:0050
AlmaLinux8npm1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
Rocky Linux8nodejs1:14.21.1-2.module+el8.7.0+1116+bd2a84b4RLSA-2023:0050
Rocky Linux8nodejs-nodemon0:2.0.20-2.module+el8.7.0+1108+49363b0dRLSA-2023:0050
Rocky Linux8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2023:0050
Rocky Linux8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2023:0050
Rocky Linux8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2023:0050
Azure Linux3js-jqueryno fix listedAZL-45051
Azure Linux3nodejs-nodemonno fix listedAZL-44307

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

- The qs and express Package is not used by the OpenShift Container Platform console directly and is only a third-party package dependency. Hence, it is marked as wontfix.

As a result, any services that depend on Openshift for their use of qs and express are marked won't fix.

- In OpenShift Service Mesh, 'qs' is hoisted from storybook and node-sass, both are dev dependencies, and the vulnerability is not exposed to end users. Hence marked as wontfix.

ProductPackageStateAdvisory
MTA-6.0-RHEL-8mta/mta-ui-rhel8:6.0.1-10Fixed 2023-02-28RHSA-2023:0934
Red Hat Enterprise Linux 8nodejs:14-8070020221212161539.bd1311edFixed 2023-01-09RHSA-2023:0050
Red Hat Enterprise Linux 8.4 Extended Update Supportnodejs:14-8040020230306170312.522a0ee4Fixed 2023-03-30RHSA-2023:1533
Red Hat Enterprise Linux 8.6 Extended Update Supportnodejs:14-8060020230306170237.ad008a3aFixed 2023-04-12RHSA-2023:1742
Red Hat Migration Toolkit for Containers 1.7rhmtc/openshift-migration-ui-rhel8:v1.7.8-5Fixed 2023-03-23RHSA-2023:1428
Red Hat OpenShift Service Mesh 2.2 for RHEL 8openshift-service-mesh/prometheus-rhel8:2.2.7-7Fixed 2023-06-15RHSA-2023:3645
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-0:14.21.1-3.el7Fixed 2023-02-06RHSA-2023:0612
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-nodemon-0:2.0.20-2.el7Fixed 2023-02-06RHSA-2023:0612
RHODF-4.12-RHEL-8odf4/mcg-core-rhel8:v4.12.3-4Fixed 2023-05-23RHSA-2023:3265
RHOL-5.5-RHEL-8openshift-logging/logging-view-plugin-rhel8:v5.5.8-3Fixed 2023-03-08RHSA-2023:0930
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-ui-rhel8Fix deferred
.NET Core 3.1 on Red Hat Enterprise Linuxrh-dotnet31-dotnetOut of support scope
OpenShift Developer Tools and ServicesodoNot affected
OpenShift Service Mesh 2openshift-service-mesh/kiali-rhel8Will not fix
OpenShift Service Mesh 2.1openshift-service-mesh/kiali-rhel8Will not fix
OpenShift Service Mesh 2.1servicemesh-grafanaWill not fix
OpenShift Service Mesh 2.1servicemesh-prometheusWill not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/application-ui-rhel8Will not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-api-rhel8Will not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-rhel8Will not fix
42 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-24999.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-084-01ABB RMC-1002025-03-11Critical manufacturingRMC-100 (2105457-036 to 2105457-044), RMC-100 LITE (2106229-010 to 2106229-016)RMC-100 Customer Package 2105452-048, RMC-100 LITE Customer Package 2106260-017

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON