{"id":"UBUNTU-CVE-2017-20148","details":"In the ebuild package through logcheck-1.3.23.ebuild for Logcheck on Gentoo, it is possible to achieve root privilege escalation from the logcheck user because of insecure recursive chown calls.","modified":"2026-05-20T16:03:21.444419972Z","published":"2022-09-20T18:15:00Z","upstream":["CVE-2017-20148"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-20148"},{"type":"REPORT","url":"https://security.gentoo.org/glsa/202209-10"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-20148"}],"affected":[{"package":{"name":"logcheck","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/logcheck?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.17","1.3.17ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.17ubuntu0.1","binary_name":"logcheck"},{"binary_name":"logcheck-database","binary_version":"1.3.17ubuntu0.1"},{"binary_name":"logtail","binary_version":"1.3.17ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"}},{"package":{"name":"logcheck","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/logcheck?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.18"],"ecosystem_specific":{"binaries":[{"binary_name":"logcheck","binary_version":"1.3.18"},{"binary_version":"1.3.18","binary_name":"logcheck-database"},{"binary_name":"logtail","binary_version":"1.3.18"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"}},{"package":{"name":"logcheck","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/logcheck?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.20"],"ecosystem_specific":{"binaries":[{"binary_name":"logcheck","binary_version":"1.3.20"},{"binary_name":"logcheck-database","binary_version":"1.3.20"},{"binary_name":"logtail","binary_version":"1.3.20"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"}},{"package":{"name":"logcheck","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/logcheck?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.23"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.23","binary_name":"logcheck"},{"binary_version":"1.3.23","binary_name":"logcheck-database"},{"binary_version":"1.3.23","binary_name":"logtail"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"}},{"package":{"name":"logcheck","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/logcheck?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.3"],"ecosystem_specific":{"binaries":[{"binary_name":"logcheck","binary_version":"1.4.3"},{"binary_name":"logcheck-database","binary_version":"1.4.3"},{"binary_name":"logtail","binary_version":"1.4.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"}},{"package":{"name":"logcheck","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/logcheck?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.3ubuntu1","1.4.5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.5","binary_name":"logcheck"},{"binary_name":"logcheck-database","binary_version":"1.4.5"},{"binary_name":"logtail","binary_version":"1.4.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"}},{"package":{"name":"logcheck","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/logcheck?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5","1.4.7","1.4.7build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.7build1","binary_name":"logcheck"},{"binary_name":"logcheck-database","binary_version":"1.4.7build1"},{"binary_name":"logtail","binary_version":"1.4.7build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20148.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}