CVE-2020-8252

libuv: buffer overflow in realpath

Published Sep 18, 2020 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-29122 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.
Ubuntu USN Ubuntu USN USN-4548-1 libuv vulnerability
History

No history.

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-122

    Heap-based Buffer Overflow

  • CWE-131

    Incorrect Calculation of Buffer Size

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Apr 30, 2025, 10:24 PM
Reserved
Jan 28, 2020, 12:00 AM
Status
Modified
Published
Sep 18, 2020, 9:15 PM
Modified
Jun 17, 2026, 3:26 AM
Severity
Important
Public date
Sep 15, 2020, 12:00 AM