VDB

CVE-2020-8252

CVE-2020-8252 PUBLISHED

Reported by hackerone · Published September 18, 2020

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
nodeBitnami14.9.0, 12.18.4, 10.22.1
node-minBitnami14.9.0, 12.18.4, 10.22.1
nodedhi.docker.com14.9.0, 12.18.4, 10.22.1
nodejsAlpine12.20.1-r0, 12.18.4-r0
libuvAlpine1.39.0-r0, 1.38.1-r0
alpine/nodejs-20alpine14.9.0, 12.18.4, 10.22.1
node-minBitnami14.9.0, 12.18.4, 10.22.1
NodeNodeJS14.9.0, 12.18.4, 10.22.1
libuv1Ubuntu:20.04:LTS1.34.2-1ubuntu1.1
nodeDHI14.9.0, 12.18.4, 10.22.1
node.jsnodejs14.9.0, 12.18.4, 10.22.1
nodeBitnami14.9.0, 12.18.4, 10.22.1

3 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
NodeJSNode4.0, 5.0, 6.0
alpinenodejs0, 0
alpinelibuv0, 0
NodeJSNode5.0, 6.0, 8.0
nodejslibuv

Timeline

  • Sep 18, 2020 CVE Published
  • Oct 17, 2020 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (6 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (13 in total, the first dated here)
  • Aug 28, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-8252
vulnetix vdb fixes CVE-2020-8252

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-8252/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›