Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting nodejs:14/nodejs package, versions <1:14.21.1-2.module_el8.7.0+3373+a4c18c43


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
15.62% (97th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-NODEJS-5616871
  • published28 May 2023
  • disclosed9 Jan 2023

Introduced: 9 Jan 2023

CVE-2022-24999  (opens in a new tab)
CWE-1321  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 nodejs:14/nodejs to version 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 or higher.
This issue was patched in ALSA-2023:0050.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:14/nodejs package and not the nodejs:14/nodejs package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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 Base Scores

version 3.1