Vulnerability in Keepalived
CVE-2018-19044
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.005, 43.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Keepalived — versions 2.0.8
Weakness classification (CWE)
References
- github.com/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306 (Patch, Third Party Advisory)
- GLSA-201903-01 (vendor-advisory, Third Party Advisory)
- bugzilla.suse.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- github.com/acassen/keepalived/issues/1048 (Exploit, Patch, Third Party Advisory)
- RHSA-2019:2285 (vendor-advisory)