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 8y ago modified 4mo 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
Is CVE-2018-19044 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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 keepalivedaffected: 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.el7fixed: vendor fix RHSA-2019:2285
-
Red Hat Enterprise Linux 8 keepalivednot 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-09).
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
-
github.com
/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306
patch, third-party-advisory
-
github.com
/acassen/keepalived/issues/1048
exploit, patch, third-party-advisory
-
security.gentoo.org
/glsa/201903-01
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:2285
vendor-advisory
-
bugzilla.suse.com
/show_bug.cgi?id=1015141
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2018-19044
- NVD CVE-2018-19044
Fencer Intel 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.