CVE-2020-8252
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.71%• Percentile: 52%
Techniques & Countermeasures
- CWE-120•Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
Affected Systems
- alpine•libuv
< 1.38.1-r0 | < 1.39.0-r0 | < 1.39.0-r0 | < 1.39.0-r0 | < 1.39.0-r0 | < 1.39.0-r0 | < 1.39.0-r0 | < 1.39.0-r0 | < 1.39.0-r0 | < 1.39.0-r0 | < 1.39.0-r0 | < 1.39.0-r0 | < 1.39.0-r0
- alpine•nodejs
< 12.20.1-r0 | < 12.18.4-r0 | < 12.18.4-r0 | < 12.18.4-r0 | < 12.18.4-r0 | < 12.18.4-r0 | < 12.18.4-r0 | < 12.18.4-r0 | < 12.18.4-r0 | < 12.18.4-r0 | < 12.18.4-r0 | < 12.18.4-r0 | < 12.18.4-r0 | < 12.18.4-r0
- debian•libuv1
< 1.39.0-1 | < 1.39.0-1 | < 1.39.0-1 | < 1.39.0-1
- fedoraproject•fedora
33
- nodejs•node
≥ 4.0, < 4.* | ≥ 5.0, < 5.* | ≥ 6.0, < 6.* | ≥ 7.0, < 7.* | ≥ 8.0, < 8.* | ≥ 9.0, < 9.* | ≥ 10.0, < 10.22.1 | ≥ 11.0, < 11.* | ≥ 12.0, < 12.18.4 | ≥ 13.0, < 13.* | ≥ 14.0, < 14.9.0
- nodejs•node.js
≥ 10.0.0, < 10.22.1 | ≥ 12.0.0, < 12.18.4 | ≥ 14.0.0, < 14.9.0
- opensuse•leap
15.2
References (10)
- https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/
- https://hackerone.com/reports/965914
- https://security.gentoo.org/glsa/202009-15
- https://usn.ubuntu.com/4548-1/
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00011.html
- https://security.netapp.com/advisory/ntap-20201009-0004/
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/
- https://security.alpinelinux.org/vuln/CVE-2020-8252
- https://security-tracker.debian.org/tracker/CVE-2020-8252