CVE-2018-19044

MEDIUM

keepalived 2.0.8 - Arbitrary File Write via Symlink Attack

Title source: llm
STIX 2.1

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.

References (5)

Core 5
Core References
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201903-01
Issue Tracking, Third Party Advisory x_refsource_misc
https://bugzilla.suse.com/show_bug.cgi?id=1015141
Exploit, Patch, Third Party Advisory x_refsource_misc
https://github.com/acassen/keepalived/issues/1048
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2285

Scores

CVSS v3 4.7
EPSS 0.0050
EPSS Percentile 38.8%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-59
Status published
Products (1)
keepalived/keepalived 2.0.8
Published Nov 08, 2018
Tracked Since Feb 18, 2026