Gentoo Logo

Keepalived: Denial of Service


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201207-07 / keepalived
Release Date July 09, 2012
Latest Revision July 09, 2012: 1
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
sys-cluster/keepalived < 1.2.2-r3 >= 1.2.2-r3 All supported architectures

Related bugreports: #371469


Keepalived uses world-writable PID files, allowing a local attacker to kill arbitrary processes.

2.  Impact Information


Keepalived is a strong & robust keepalive facility to the Linux Virtual Server project.


The "pidfile_write()" function in pidfile.c in Keepalived writes PID files with insecure permissions.


A local attacker may be able to cause a Denial of Service of arbitrary processes.

3.  Resolution Information


There is no known workaround at this time.


All Keepalived users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=sys-cluster/keepalived-1.2.2-r3"

4.  References


Page updated July 09, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.