Back

HIGH

libuv: buffer overflow in realpath

Published Sep 18, 2020

Description

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.

Affected products

Remediation

Red Hat statement

As shipped in Red Hat Software Collections (nodejs-10 & nodejs-12) as well as Red Hat Enterprise Linux 8 (nodejs-10 and nodejs-12), no incorrect use of the `UV__PATH_MAX` macro were found. Although the releases of libuv contained in these versions of nodejs are considered "Affected", it is considered not feasible to trigger the flaw. NodeJS is included in Red Hat Quay as a dependency of Yarn which is only used while building Red Hat Quay, and not during runtime. Red Hat Enterprise Linux 8 ships libuv-1.23.1, which is not vulnerable to this flaw.

References (13)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner hackerone
Published Sep 18, 2020
Updated Apr 30, 2025
Reserved Jan 28, 2020

CISA Vulnrichment

No data

NVD

Status Modified
Modified Jun 17, 2026

Red Hat

Severity Important
Public date Sep 15, 2020
Bugzilla 1879315

ENISA EUVD

Assigner hackerone
Published Sep 18, 2020
Updated Apr 30, 2025

GitHub

No data