keepalived before version 2.0.10 didn't check for existing plain files when writing data to a temporary file upon a call to PrintData or PrintStats. If a local attacker had previously created a file with the expected name (e.g., /tmp/keepalived.data or /tmp/keepalived.stats), with read access for the attacker and write access for the keepalived process, then this potentially leaked sensitive information. Upstream Issue: https://github.com/acassen/keepalived/issues/1048 Reference: https://bugzilla.suse.com/show_bug.cgi?id=1015141
Created keepalived tracking bugs for this issue: Affects: fedora-all [bug 1651870]
Upstream fixes: https://github.com/acassen/keepalived/commit/ac8e2ef053de273ce7a0cf0cb611e599dca4b298 https://github.com/acassen/keepalived/commit/26c8d6374db33bcfcdcd758b1282f12ceef4b94f https://github.com/acassen/keepalived/commit/17f944144b3d9c5131569b1cc988cc90fd676671
Statement: This issue did not affect the versions of keepalived as shipped with Red Hat Enterprise Linux 6 and 7 as the packages are not built with dbus support, therefore the vulnerable code is not available in resulting RPM and the issue cannot be exploited.