CVEfocus › CVE database › CVE-2018-19046

CVE-2018-19046

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

keepalived 2.0.8 didn't check for existing plain files when writing data to a temporary file upon a call to PrintData or PrintStats. If a local attacker had previously created a file with the expected name (e.g., /tmp/keepalived.data or /tmp/keepalived.stats), with read access for the attacker and write access for the keepalived process, then this potentially leaked sensitive information.

What to do

Fixed builds are available from Alpine, Debian: 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

20Fixed
1Fix pending
9Not 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-19046
Ubuntu 16.04keepalivedNot affected
vulnerable_code_not_present
Debian 14keepalivedFixed1:2.0.10-1DEBIAN-CVE-2018-19046
Debian 13keepalivedFixed1:2.0.10-1DEBIAN-CVE-2018-19046
Debian 12keepalivedFixed1:2.0.10-1DEBIAN-CVE-2018-19046
Red Hat Enterprise Linux 8keepalivedNot affected
Red Hat Enterprise Linux 7keepalivedNot affected
Red Hat Enterprise Linux 6keepalivedNot affected
Alpine Linux 3.24keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.23keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.22keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.21keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.20keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.19keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.18keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.17keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.16keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.15keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.14keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.13keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.12keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.11keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.10keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.9keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046
Alpine Linux 3.8keepalivedFixed2.0.11-r0ALPINE-CVE-2018-19046

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.