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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| node | Bitnami | 14.9.0, 12.18.4, 10.22.1 |
| node-min | Bitnami | 14.9.0, 12.18.4, 10.22.1 |
| node | dhi.docker.com | 14.9.0, 12.18.4, 10.22.1 |
| nodejs | Alpine | 12.20.1-r0, 12.18.4-r0 |
| libuv | Alpine | 1.39.0-r0, 1.38.1-r0 |
| alpine/nodejs-20 | alpine | 14.9.0, 12.18.4, 10.22.1 |
| node-min | Bitnami | 14.9.0, 12.18.4, 10.22.1 |
| Node | NodeJS | 14.9.0, 12.18.4, 10.22.1 |
| libuv1 | Ubuntu:20.04:LTS | 1.34.2-1ubuntu1.1 |
| node | DHI | 14.9.0, 12.18.4, 10.22.1 |
| node.js | nodejs | 14.9.0, 12.18.4, 10.22.1 |
| node | Bitnami | 14.9.0, 12.18.4, 10.22.1 |
3 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NodeJS | Node | 4.0, 5.0, 6.0 |
| alpine | nodejs | 0, 0 |
| alpine | libuv | 0, 0 |
| NodeJS | Node | 5.0, 6.0, 8.0 |
| nodejs | libuv |
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
- x_refsource_MISC
- x_refsource_MISC
- GLSA-202009-15 vendor-advisoryx_refsource_GENTOO
- USN-4548-1 vendor-advisoryx_refsource_UBUNTU
- openSUSE-SU-2020:1616 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- openSUSE-SU-2020:1660 vendor-advisoryx_refsource_SUSE
- FEDORA-2020-43d5a372fc vendor-advisoryx_refsource_FEDORA