{"id":"UBUNTU-CVE-2017-12847","details":"Nagios Core before 4.3.3 creates a nagios.lock PID file after dropping privileges to a non-root account, which might allow local users to kill arbitrary processes by leveraging access to this non-root account for nagios.lock modification before a root script executes a \"kill `cat /pathname/nagios.lock`\" command.","modified":"2025-10-24T04:46:27Z","published":"2017-08-23T21:29:00Z","upstream":["CVE-2017-12847"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-12847"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2017/08/16/7"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-12847"}],"affected":[{"package":{"name":"nagios3","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/nagios3@3.5.1.dfsg-2.1ubuntu1.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.1-1ubuntu4","3.5.1.dfsg-2ubuntu1","3.5.1.dfsg-2ubuntu2","3.5.1.dfsg-2.1ubuntu1","3.5.1.dfsg-2.1ubuntu1.1","3.5.1.dfsg-2.1ubuntu1.2","3.5.1.dfsg-2.1ubuntu1.3"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.1.dfsg-2.1ubuntu1.3","binary_name":"nagios3"},{"binary_version":"3.5.1.dfsg-2.1ubuntu1.3","binary_name":"nagios3-cgi"},{"binary_version":"3.5.1.dfsg-2.1ubuntu1.3","binary_name":"nagios3-common"},{"binary_version":"3.5.1.dfsg-2.1ubuntu1.3","binary_name":"nagios3-core"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12847.json"}},{"package":{"name":"nagios3","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nagios3@3.5.1.dfsg-2.1ubuntu8?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.1.dfsg-2.1ubuntu8"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.1.dfsg-2.1ubuntu8","binary_name":"nagios3"},{"binary_version":"3.5.1.dfsg-2.1ubuntu8","binary_name":"nagios3-cgi"},{"binary_version":"3.5.1.dfsg-2.1ubuntu8","binary_name":"nagios3-common"},{"binary_version":"3.5.1.dfsg-2.1ubuntu8","binary_name":"nagios3-core"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12847.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}