Incorrect Calculation of Buffer Size Affecting nodejs-packaging package, versions <0:17-3.module+el8+2873+aa7dfd9a


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.05% (22nd 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-CENTOS8-NODEJSPACKAGING-2051153
  • published26 Jul 2021
  • disclosed15 Sept 2020

Introduced: 15 Sep 2020

CVE-2020-8252  (opens in a new tab)
CWE-131  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:8 nodejs-packaging to version 0:17-3.module+el8+2873+aa7dfd9a or higher.

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 Centos. See How to fix? for Centos: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