All reports
Medium

keepalived: Improper pathname validation allows for overwrite of arbitrary filenames via symlinks

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-19044

Probability of exploitation in the next 30 days: 0.50%

FIRST EPSS · 2026-11-20

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.