CVE-2018-19044

Name
CVE-2018-19044
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Exploit https://github.com/acassen/keepalived/issues/1048
Patch https://github.com/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306
Issue Tracking https://bugzilla.suse.com/show_bug.cgi?id=1015141
Third Party Advisory https://security.gentoo.org/glsa/201903-01
REDHAT https://access.redhat.com/errata/RHSA-2019:2285

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:keepalived:keepalived:2.0.8:*:*:*:*:*:*:* keepalived == None == 2.0.8

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
keepalived edge-community 2.0.11-r0 None fixed
keepalived 3.22-community 2.0.11-r0 None fixed
keepalived 3.21-community 2.0.11-r0 None fixed
keepalived 3.20-community 2.0.11-r0 None fixed
keepalived 3.19-community 2.0.11-r0 None fixed
keepalived 3.18-community 2.0.11-r0 None fixed
keepalived 3.17-community 2.0.11-r0 None fixed