Incorrect Calculation of Buffer Size Affecting nodejs-devel package, versions <1:12.18.4-2.module+el8.2.0+8361+192e434e


Severity

Recommended
0.0
high
0
10

Based on CentOS 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-CENTOS8-NODEJSDEVEL-2049863
  • 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-devel to version 1:12.18.4-2.module+el8.2.0+8361+192e434e 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.

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