{"id":"UBUNTU-CVE-2020-8252","details":"The implementation of realpath in libuv \u003c 10.22.1, \u003c 12.18.4, and \u003c 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.","modified":"2026-02-04T02:17:22.266570Z","published":"2020-09-18T21:15:00Z","related":["USN-4548-1"],"upstream":["CVE-2020-8252"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-8252"},{"type":"REPORT","url":"https://hackerone.com/reports/965914"},{"type":"REPORT","url":"https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/#fs-realpath-native-on-may-cause-buffer-overflow-medium-cve-2020-8252"},{"type":"REPORT","url":"https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4548-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-8252"}],"affected":[{"package":{"name":"libuv1","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libuv1@1.34.2-1ubuntu1.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34.2-1ubuntu1.1"}]}],"versions":["1.30.1-1","1.33.1-2","1.33.1-2ubuntu2","1.33.1-3ubuntu1","1.34.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libuv1","binary_version":"1.34.2-1ubuntu1.1"},{"binary_name":"libuv1-dev","binary_version":"1.34.2-1ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8252.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}