{"id":"UBUNTU-CVE-2020-36657","details":"uptimed before 0.4.6-r1 on Gentoo allows local users (with access to the uptimed user account) to gain root privileges by creating a hard link within the /var/spool/uptimed directory, because there is an unsafe chown -R call.","modified":"2026-05-20T16:04:32.670534193Z","published":"2023-01-26T21:15:00Z","upstream":["CVE-2020-36657"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-36657"},{"type":"REPORT","url":"https://bugs.gentoo.org/630810"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-36657"}],"affected":[{"package":{"name":"uptimed","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/uptimed?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.3.17-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1:0.3.17-4","binary_name":"libuptimed0"},{"binary_name":"uprecords-cgi","binary_version":"1:0.3.17-4"},{"binary_name":"uptimed","binary_version":"1:0.3.17-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36657.json"}},{"package":{"name":"uptimed","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/uptimed?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.4.0+git20150923.6b22106-1.1","1:0.4.0+git20150923.6b22106-2"],"ecosystem_specific":{"binaries":[{"binary_name":"uptimed","binary_version":"1:0.4.0+git20150923.6b22106-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36657.json"}},{"package":{"name":"uptimed","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/uptimed?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.4.1-1","1:0.4.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"uptimed","binary_version":"1:0.4.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36657.json"}},{"package":{"name":"uptimed","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/uptimed?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.4.3-1","1:0.4.5-1","1:0.4.6-1","1:0.4.6-2","1:0.4.6-3"],"ecosystem_specific":{"binaries":[{"binary_name":"uptimed","binary_version":"1:0.4.6-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36657.json"}},{"package":{"name":"uptimed","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/uptimed?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.4.6-3"],"ecosystem_specific":{"binaries":[{"binary_name":"uptimed","binary_version":"1:0.4.6-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36657.json"}},{"package":{"name":"uptimed","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/uptimed?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.4.6-3.1"],"ecosystem_specific":{"binaries":[{"binary_name":"uptimed","binary_version":"1:0.4.6-3.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36657.json"}},{"package":{"name":"uptimed","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/uptimed?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.4.6-3.1","1:0.4.6-3.1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:0.4.6-3.1build1","binary_name":"uptimed"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36657.json"}}],"schema_version":"1.7.5","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":"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"}]}