CVE-2018-19046 json
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.
published 2018-11-08 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-10764
- cvss
- 4.7
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- keepalived Debian 14, Debian 13, Debian 12 1:2.0.10-1
debian advisories DEBIAN-CVE-2018-19046
- 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-19046
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-19046 updated cvss 7.1
keepalived: Insecure use of temporary files allows attackers read sensitive information from pre-existing files
-
Red Hat Enterprise Linux 6 keepalived Red Hat Enterprise Linux 7 keepalived 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.37% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).
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:H/I:N/A:N |
| NVD | 2.0 | 1.9 | AV:L/AC:M/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/acassen/keepalived/issues/1048
patch, third-party-advisory
-
security.gentoo.org
/glsa/201903-01
vendor-advisory, third-party-advisory
-
bugzilla.suse.com
/show_bug.cgi?id=1015141
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2018-19046
- NVD CVE-2018-19046
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.