Skip to content
Fencer Vulns
medium 4.7

CVE-2018-19044 json

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.

published 2018-11-08 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-10762

cvss
4.7
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 43%
public exploits
0
none known

Summary

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.

Patch / fix

  • keepalived Debian 14, Debian 13, Debian 12 1:2.0.10-1

debian advisories DEBIAN-CVE-2018-19044

  • keepalived RHEL 7 1.3.5-16.el7

red hat advisories RHSA-2019:2285

  • keepalived SLE High Availability Extension 15 SP1 2.0.19-3.3.1

suse advisories SUSE-SU-2020:0779-1

  • keepalived openSUSE Tumbleweed 2.2.2-4.2

opensuse advisories openSUSE-SU-2024:10893-1

  • keepalived Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 2.0.11-r0

alpine advisories ALPINE-CVE-2018-19044

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-19044 updated cvss 7.0

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

  • Red Hat Enterprise Linux 6 keepalived
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Server (v. 7) keepalived 1.3.5-16.el7 Red Hat Enterprise Linux Workstation (v. 7) keepalived 1.3.5-16.el7
    fixed: vendor fix RHSA-2019:2285
  • Red Hat Enterprise Linux 8 keepalived
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/acassen/keepalived/issues/1048 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 4.7 CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 3.3 AV:L/AC:M/Au:N/C:N/I:P/A:P

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.