Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting nodejs-packaging package, versions <0:17-3.module+el8.3.0+101+f84c7154


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
1.22% (86th 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-ROCKY8-NODEJSPACKAGING-3205152
  • published5 Jan 2023
  • disclosed11 Dec 2020

Introduced: 11 Dec 2020

CVE-2020-7788  (opens in a new tab)
CWE-1321  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 nodejs-packaging to version 0:17-3.module+el8.3.0+101+f84c7154 or higher.
This issue was patched in RLSA-2021:0549.

NVD Description

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

This affects the package ini before 1.3.6. If an attacker submits a malicious INI file to an application that parses it with ini.parse, they will pollute the prototype on the application. This can be exploited further depending on the context.

CVSS Scores

version 3.1