Buffer Overflow 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
0.05% (21st 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-ROCKY8-NODEJSPACKAGING-3214388
  • published5 Jan 2023
  • disclosed18 Sept 2020

Introduced: 18 Sep 2020

CVE-2020-8252  (opens in a new tab)
CWE-120  (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-2020:4272.

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.

The implementation of realpath in libuv < 10.22.1, < 12.18.4, and < 14.9.0 used within Node.js incorrectly determined the buffer size which can result in a buffer overflow if the resolved path is longer than 256 bytes.

CVSS Scores

version 3.1