CVEfocus › CVE database › CVE-2020-8252

CVE-2020-8252

EPSS 0.7% (higher than 54% of CVEs)Published 2020-09-18Updated 2025-04-30Assigner: hackerone

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.

CWE-120

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

42Fixed
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04libuv1Fixed1.34.2-1ubuntu1.1UBUNTU-CVE-2020-8252
Ubuntu 18.04libuv1Not affected
vulnerable_code_not_present
Ubuntu 16.04libuv1Not affected
vulnerable_code_not_present
Debian 14libuv1Fixed1.39.0-1DEBIAN-CVE-2020-8252
Debian 13libuv1Fixed1.39.0-1DEBIAN-CVE-2020-8252
Debian 12libuv1Fixed1.39.0-1DEBIAN-CVE-2020-8252
Red Hat Enterprise Linux 8libuvNot affected
Red Hat Enterprise Linux 8libuv-develNot affected
Red Hat Enterprise Linux 8nodejsFixed1:10.23.1-1.module+el8.3.0+9502+012d8a97RHSA-2020:4272
Red Hat Enterprise Linux 8nodejs-develFixed1:12.18.4-2.module+el8.2.0+8361+192e434eRHSA-2021:0548
Red Hat Enterprise Linux 8nodejs-docsFixed1:10.23.1-1.module+el8.3.0+9502+012d8a97RHSA-2020:4272
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:12.18.4-2.module+el8.2.0+8361+192e434eRHSA-2021:0548
Red Hat Enterprise Linux 8nodejs-libsNot affected
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:1.18.3-1.module+el8.1.0+3369+37ae6a45RHSA-2021:0548
Red Hat Enterprise Linux 8nodejs-packagingFixed0:17-3.module+el8+2873+aa7dfd9aRHSA-2020:4272
Red Hat Enterprise Linux 8nodejs-packaging-bundlerNot affected
Red Hat Enterprise Linux 8npmFixed1:6.14.10-1.10.23.1.1.module+el8.3.0+9502+012d8a97RHSA-2020:4272
Red Hat Enterprise Linux 8v8-12.4-develNot affected
Red Hat Enterprise Linux 8v8-13.6-develNot affected
AlmaLinux 8nodejs-nodemonFixed1.18.3-1.module_el8.3.0+2047+b07ac28eALSA-2020:4272
AlmaLinux 8nodejs-packagingFixed17-3.module_el8.4.0+2521+c668cc9fALSA-2020:4272
Rocky Linux 8nodejs-nodemonFixed0:1.18.3-1.module+el8.3.0+101+f84c7154RLSA-2021:0548
Rocky Linux 8nodejs-packagingFixed0:17-3.module+el8.3.0+101+f84c7154RLSA-2020:4272
Alpine Linux 3.24libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.24nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.23libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.23nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.22libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.22nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.21libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.21nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.20libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.20nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.19libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.19nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.18libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.18nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.17libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.17nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.16libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.16nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.15libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.15nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.14libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.14nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.13libuvFixed1.39.0-r0ALPINE-CVE-2020-8252
Alpine Linux 3.13nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.12libuvFixed1.38.1-r0ALPINE-CVE-2020-8252
Alpine Linux 3.12nodejsFixed12.18.4-r0ALPINE-CVE-2020-8252
Alpine Linux 3.11nodejsFixed12.20.1-r0ALPINE-CVE-2020-8252

What the vendor says

As published in the CVE record by hackerone, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.