Description
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.
Metrics
CVSS 3.0 4.7/10
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://access.redhat.com/errata/RHSA-2019:2285
- https://bugzilla.suse.com/show_bug.cgi?id=1015141Issue Tracking, Third Party Advisory
- https://github.com/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306Patch, Third Party Advisory
- https://github.com/acassen/keepalived/issues/1048Exploit, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201903-01Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2285
- https://bugzilla.suse.com/show_bug.cgi?id=1015141Issue Tracking, Third Party Advisory
- https://github.com/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306Patch, Third Party Advisory
- https://github.com/acassen/keepalived/issues/1048Exploit, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201903-01Third Party Advisory
Timeline
- Published
- Nov 8, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified