Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting rh-nodejs14-nodejs package, versions <0:14.21.1-3.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.95% (90th 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 Learn

Learn about Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-RHNODEJS14NODEJS-4852840
  • published3 Dec 2022
  • disclosed26 Nov 2022

Introduced: 26 Nov 2022

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

How to fix?

Upgrade RHEL:7 rh-nodejs14-nodejs to version 0:14.21.1-3.el7 or higher.
This issue was patched in RHSA-2023:0612.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-nodejs14-nodejs package and not the rh-nodejs14-nodejs package as distributed by RHEL. See How to fix? for RHEL:7 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 Scores

version 3.1