Vulnerability · Published Nov 26, 2022 · Assigned by mitre

CVE-2022-24999

High 7.5

In plain English

A high-severity prototype pollution in the nodejs package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 15.7% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)15.7%top 3.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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: qs@6.9.7" in its release description, is not vulnerable).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux:8nodejs-devel1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux:8nodejs-docs1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux:8nodejs-full-i18n1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux:8nodejs-nodemon2.0.20-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux:8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2023:0050
AlmaLinux:8npm1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
Debian:12node-qs6.10.3+ds+~6.9.7-1DEBIAN-CVE-2022-24999
Debian:13node-qs6.10.3+ds+~6.9.7-1DEBIAN-CVE-2022-24999
Debian:14node-qs6.10.3+ds+~6.9.7-1DEBIAN-CVE-2022-24999
Rocky Linux:8nodejs1:14.21.1-2.module+el8.7.0+1116+bd2a84b4RLSA-2023:0050
Rocky Linux:8nodejs-nodemon0:2.0.20-2.module+el8.7.0+1108+49363b0dRLSA-2023:0050
Rocky Linux:8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2023:0050
Rocky Linux:8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2023:0050
Rocky Linux:8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2023:0050
npmqs6.7.3GHSA-hrpp-h998-j3pp
npmqs6.6.1GHSA-hrpp-h998-j3pp
npmqs6.5.3GHSA-hrpp-h998-j3pp
npmqs6.4.1GHSA-hrpp-h998-j3pp
npmqs6.3.3GHSA-hrpp-h998-j3pp
npmqs6.2.4GHSA-hrpp-h998-j3pp
npmqs6.10.3GHSA-hrpp-h998-j3pp
npmqs6.9.7GHSA-hrpp-h998-j3pp
npmqs6.8.3GHSA-hrpp-h998-j3pp

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References