Releases137
Frequency1 month 2 weeks
Last Release
Stars4.62K
Keepalived

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
9.8 CRITICAL

In the vrrp_ipsets_handler handler (fglobal_parser.c) of keepalived through 2.3.1, an integer overflow can occur. NOTE: this CVE Record might not be worthwhile because an empty ipset name must be configured by the user.

<= 2.2.45.4 MEDIUM5.5 MEDIUM

In Keepalived through 2.2.4, the D-Bus policy does not sufficiently restrict the message destination, allowing any user to inspect and manipulate any property. This leads to access-control bypass in some situations in which an unrelated D-Bus system service has a settable (writable) property

= 2.0.83.3 LOW

keepalived 2.0.8 didn't check for pathnames with symlinks when writing data to a temporary file upon a call to PrintData or PrintStats. This allowed local users to overwrite arbitrary files if fs.protected_symlinks is set to 0, as demonstrated by a symlink from /tmp/keepalived.data or /tmp/keepalived.stats to /etc/passwd.

= 2.0.85 MEDIUM

keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information.

= 2.0.81.9 LOW

keepalived 2.0.8 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.

< 2.0.77.5 HIGH

keepalived before 2.0.7 has a heap-based buffer overflow when parsing HTTP status codes resulting in DoS or possibly unspecified other impact, because extract_status_code in lib/html.c has no validation of the status code and instead writes an unlimited amount of data to the heap.

= 0.6.9, = 0.7.1, = 0.3.6, = 1.1.5, = 1.1.13, = 1.1.3, = 1.0.1, = 0.6.1, = 1.1.11, = 0.3.5, = 0.6.5, = 0.6.6, = 1.1.6, = 1.2.1, = 0.2.7, = 0.5.3, = 0.6.3, = 1.1.2, = 1.1.19, <= 1.2.2, = 1.0.2, = 1.1.7, = 1.1.8, = 0.4.8, = 1.1.1, = 1.1.10, = 1.1.18, = 0.5.5, = 0.5.6, = 1.0.0, = 1.1.4, = 1.1.14, = 1.2.0, = 0.2.6, = 0.4.9a, = 0.6.4, = 0.7.6, = 1.1.12, = 1.1.20, = 0.3.7, = 0.3.8, = 0.5.7, = 0.5.8, = 0.5.9, = 0.6.7, = 0.6.8, = 1.0.3, = 1.1.15, = 1.1.16, = 0.2.1, = 0.2.3, = 0.4.9, = 0.6.2, = 0.6.10, = 1.1.0, = 1.1.9, = 1.1.173.6 LOW

The pidfile_write function in core/pidfile.c in keepalived 1.2.2 and earlier uses 0666 permissions for the (1) keepalived.pid, (2) checkers.pid, and (3) vrrp.pid files in /var/run/, which allows local users to kill arbitrary processes by writing a PID to one of these files.