CVE-2022-24999

Aliases:GHSA-hrpp-h998-j3pp
Advisory lineage Upstream: 0 Downstream: 9
Modified
Published: 26 Nov 2022, 00:00
Last modified:29 Apr 2025, 13:56

Vulnerability Summary

Overall Risk (default)
medium
40/100
CVSS Score
7.5 HIGH
v3.1 (cve.org)
EPSS Score
1.54% LOW
2% probability +0.12%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

26 Nov 2022, 00:00
Published
Vulnerability first disclosed
29 Apr 2025, 13:56
Last Modified
Vulnerability information updated

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

CVSS Metrics

  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 1.54% Percentile: 82%

Techniques & Countermeasures

  • CWE-1321Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

    The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

Affected Systems

  • debiandebian_linux

    10.0

  • Npmqs

    ≥ 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

  • openjsfexpress

    < 4.17.3

  • qs_projectqs

    < 6.2.4 | ≥ 6.3.0, < 6.3.3 | ≥ 6.5.0, < 6.5.3 | ≥ 6.7.0, < 6.7.3 | ≥ 6.8.0, < 6.8.3 | ≥ 6.9.0, < 6.9.7 | ≥ 6.10.0, < 6.10.3 | 6.4.0 | 6.6.0

References (17)