CVEfocus › CVE database › CVE-2018-19044

CVE-2018-19044

CVSS 4.7 MediumEPSS 0.5% (higher than 43% of CVEs)Published 2018-11-08Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed
1Fix pending
1Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04keepalivedNot affected
vulnerable_code_not_present
Ubuntu 25.10keepalivedNot affected
vulnerable_code_not_present
Ubuntu 24.04keepalivedNot affected
vulnerable_code_not_present
Ubuntu 22.04keepalivedNot affected
vulnerable_code_not_present
Ubuntu 20.04keepalivedNot affected
vulnerable_code_not_present
Ubuntu 18.04keepalivedFix pendingUBUNTU-CVE-2018-19044
Ubuntu 16.04keepalivedNot affected
vulnerable_code_not_present
Debian 14keepalivedFixed1:2.0.10-1DEBIAN-CVE-2018-19044
Debian 13keepalivedFixed1:2.0.10-1DEBIAN-CVE-2018-19044
Debian 12keepalivedFixed1:2.0.10-1DEBIAN-CVE-2018-19044
Red Hat Enterprise Linux 8keepalivedNot affected
Red Hat Enterprise Linux 7keepalivedFixed0:1.3.5-16.el7RHSA-2019:2285
Red Hat Enterprise Linux 6keepalivedWill not fix
Will not fix
Alpine Linux 3.24keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.23keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.22keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.21keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.20keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.19keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.18keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.17keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.16keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.15keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.14keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.13keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.12keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.11keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.10keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.9keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044
Alpine Linux 3.8keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19044

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.