Incorrect Calculation of Buffer Size Affecting rh-nodejs12-nodejs-devel package, versions <0:12.18.4-3.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.71% (49th 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-RHEL7-RHNODEJS12NODEJSDEVEL-4739744
  • 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)

How to fix?

Upgrade RHEL:7 rh-nodejs12-nodejs-devel to version 0:12.18.4-3.el7 or higher.
This issue was patched in RHSA-2020:5086.

NVD Description

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

version 3.1