Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting nodejs-devel package, versions <1:14.21.1-2.module+el8.7.0+17528+a329cd47


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
1.4% (87th 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-CENTOS8-NODEJSDEVEL-3153463
  • 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 Centos:8 nodejs-devel to version 1:14.21.1-2.module+el8.7.0+17528+a329cd47 or higher.

NVD Description

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

version 3.1