Skip to content
Fencer Intel
medium 4.7

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 8y ago modified 4mo 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

Is CVE-2018-19046 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 Fencer

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 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.37% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Sources

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.