What’s Vulnerable › Vulnerabilities
CVE-2020-8252
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-09-18 · updated 2026-06-17
- Weakness: CWE-120
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
- Fedoraproject Fedora: 33
- Node.js: from 10.0.0 before 10.22.1; from 12.0.0 before 12.18.4; from 14.0.0 before 14.9.0 — fixed in 10.22.1, 12.18.4, 14.9.0
- openSUSE Leap: 15.2
How to fix
Upgrade to a fixed version: Node.js 10.22.1, 12.18.4, 14.9.0. Check the vendor advisory for mitigations.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00011.html
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00023.html
- https://hackerone.com/reports/965914
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/
- https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/
- https://security.gentoo.org/glsa/202009-15
- https://security.netapp.com/advisory/ntap-20201009-0004/
- https://usn.ubuntu.com/4548-1/
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00011.html
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00023.html
- https://hackerone.com/reports/965914
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/
Get alerted when CVE-2020-8252 or the next vulnerability affects your stack