CVE-2017-12847
Nagios Core before 4.3.3 creates a nagios.lock PID file after dropping privileges to a non-root...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.3
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.
- Record
CVE-2017-12847- CVSS 3.0
- 6.3 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H - CVSS 2.0
- 6.3 Medium
AV:L/AC:M/Au:N/C:N/I:C/A:C - Weakness
- CWE-665
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-12847- Updated
- 2026-11-02
EUVDEUVD-2017-4384 No score
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.
- Record
EUVD-2017-4384- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6j77-rprv-m39j
6.3
Nagios Core before 4.3.3 creates a nagios.lock PID file after dropping privileges to a non-root...
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.
- Record
GHSA-6j77-rprv-m39j- CVSS 3.0
- 6.3 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-665
- Updated
- 2026-11-02
OSV
6.3
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.
- Record
CVE-2017-12847- CVSS 3.0
- 6.3 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-12847
6.3
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.
- Record
UBUNTU-CVE-2017-12847- CVSS 3.0
- 6.3 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0437 No score
Updated nagios packages fix security vulnerability
It was found that nagios daemon creates its PID file after dropping privileges, which allows to change its content by non-root user with PID of any other process, resulting into denial-of-service when daemon is stopped (CVE-2017-12847).
Note that the nagios package on Mageia 5 is no longer supported. Users of this package should upgrade to Mageia 6.
- Record
MGASA-2017-0437- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11073-1 No score
nagios-4.4.6-2.5 on GA media
These are all security issues fixed in the nagios-4.4.6-2.5 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11073-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
nagiosMageia:6 |
before 4.3.1-2.1.mga6 | 4.3.1-2.1.mga6 |
nagios3Ubuntu:16.04:LTS |
All versions, plus listed versions 3.5.1-1ubuntu43.5.1.dfsg-2ubuntu13.5.1.dfsg-2ubuntu23.5.1.dfsg-2.1ubuntu13.5.1.dfsg-2.1ubuntu1.13.5.1.dfsg-2.1ubuntu1.23.5.1.dfsg-2.1ubuntu1.3 |
None known |
nagios3Ubuntu:18.04:LTS |
All versions, plus listed versions 3.5.1.dfsg-2.1ubuntu8 |
None known |
nagiosopenSUSE:Tumbleweed From an advisory covering 17 CVEs |
before 4.4.6-2.5 | 4.4.6-2.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-12847 is a medium vulnerability (CVSS 6.3) in Nagios, published August 23, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.79%, the 56th percentile. Fixed in nagios 4.3.1-2.1.mga6.
References
security.gentoo.org/glsa/201710-20
github.com/NagiosEnterprises/nagioscore/commit/3baffa78bafebbbdf9f448890ba5a952ea2d73cb
github.com/NagiosEnterprises/nagioscore/commit/1b197346d490df2e2d3b1dcce5ac6134ad0c8752
github.com/NagiosEnterprises/nagioscore/blob/master/Changelog
securityfocus.com/bid/100403
github.com/NagiosEnterprises/nagioscore/issues/404
Show 25 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-12847
github.com/advisories/GHSA-6j77-rprv-m39j
advisories.mageia.org/MGASA-2017-0437.html
bugs.mageia.org/show_bug.cgi?id=22049
lists.fedoraproject.org/archives/list/[email protected]/thread/WYI2Q2GXM5Z4DQCQSU2GUHC6AUDK7HK3
ubuntu.com/security/CVE-2017-12847
openwall.com/lists/oss-security/2017/08/16/7
cve.org/CVERecord?id=CVE-2017-12847
suse.com/security/cve/CVE-2006-2162
suse.com/security/cve/CVE-2007-5803
suse.com/security/cve/CVE-2008-4796
suse.com/security/cve/CVE-2011-1523
suse.com/security/cve/CVE-2013-2214
suse.com/security/cve/CVE-2013-4214
suse.com/security/cve/CVE-2013-7108
suse.com/security/cve/CVE-2014-1878
suse.com/security/cve/CVE-2016-0726
suse.com/security/cve/CVE-2016-6209
suse.com/security/cve/CVE-2016-8641
suse.com/security/cve/CVE-2016-9566
suse.com/security/cve/CVE-2017-12847
suse.com/security/cve/CVE-2018-13441
suse.com/security/cve/CVE-2018-18245
suse.com/security/cve/CVE-2019-3698
suse.com/security/cve/CVE-2020-13977