CVE-2018-19045
keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or...
CVE-2018-19045 is a high vulnerability (CVSS 7.5) in Keepalived, published November 8, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.38%, the 83rd percentile. Fixed in keepalived 2.0.11-r0.
keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information.
- Record
CVE-2018-19045- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
CVE List No score
keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information.
- Record
CVE-2018-19045- Updated
- 2026-11-02
EUVDEUVD-2018-10763 No score
keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information.
- Record
EUVD-2018-10763- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7gcf-2wg8-c4pq
7.5
keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or...
keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information.
- Record
GHSA-7gcf-2wg8-c4pq- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-19045
7.5
keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information.
- Record
ALPINE-CVE-2018-19045- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
OSV
7.5
keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information.
- Record
CVE-2018-19045- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2018-19045
7.5
keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information.
- Record
DEBIAN-CVE-2018-19045- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-19045
7.5
keepalived 2.0.8 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information.
- Record
UBUNTU-CVE-2018-19045- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVMGASA-2018-0494 No score
Updated keepalived package fixes security vulnerabilities
keepalived before version 2.0.9 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 (CVE-2018-19044).
keepalived before version 2.0.9 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information (CVE-2018-19045).
keepalived before version 2.0.10 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 (CVE-2018-19046).
keepalived before version 2.0.9 has a heap-based buffer overflow when parsing HTTP status codes resulting in DoS or possibly unspecified other impact, because extract_status_code in lib/html.c has no validation of the status code and instead writes an unlimited amount of data to the heap (CVE-2018-19115).
- Record
MGASA-2018-0494- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10893-1 No score
keepalived-2.2.2-4.2 on GA media
These are all security issues fixed in the keepalived-2.2.2-4.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10893-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:0779-1 No score
Security update for keepalived
This update for keepalived fixes the following issues:
Initial release of keepalived v2.0.19 as supported package. (bsc#1158280, jsc#ECO-223)
- Record
SUSE-SU-2020:0779-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
keepalivedAlpine:v3.10 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.11 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.12 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.13 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.14 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.15 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.16 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.17 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.18 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.19 |
before 2.0.11-r0 | 2.0.11-r0 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
keepalivedAlpine:v3.20 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.21 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.22 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.23 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.24 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.8 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedAlpine:v3.9 |
before 2.0.11-r0 | 2.0.11-r0 |
keepalivedDebian:12 |
before 1:2.0.10-1 | 1:2.0.10-1 |
keepalivedDebian:13 |
before 1:2.0.10-1 | 1:2.0.10-1 |
keepalivedDebian:14 |
before 1:2.0.10-1 | 1:2.0.10-1 |
keepalivedMageia:6 |
before 2.0.10-1.mga6 | 2.0.10-1.mga6 |
keepalivedSUSE:Linux Enterprise High Availability Extension 15 SP1 |
before 2.0.19-3.3.1 | 2.0.19-3.3.1 |
keepalivedUbuntu:18.04:LTS |
All versions, plus listed versions 1:1.3.2-1build11:1.3.9-11:1.3.9-1build11:1.3.9-1ubuntu0.18.04.11:1.3.9-1ubuntu0.18.04.21:1.3.9-1ubuntu0.18.04.3 |
None known |
keepalivedopenSUSE:Tumbleweed |
before 2.2.2-4.2 | 2.2.2-4.2 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected, aliases, references | OSV |
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/acassen/keepalived/commit/5241e4d7b177d0b6f073cfc9ed5444bf51ec89d6
security.gentoo.org/glsa/201903-01
bugzilla.suse.com/show_bug.cgi?id=1015141
github.com/acassen/keepalived/issues/1048
github.com/acassen/keepalived/commit/c6247a9ef2c7b33244ab1d3aa5d629ec49f0a067
nvd.nist.gov/vuln/detail/CVE-2018-19045
Show 16 moreShow less
github.com/advisories/GHSA-7gcf-2wg8-c4pq
security.alpinelinux.org/vuln/CVE-2018-19045
security-tracker.debian.org/tracker/CVE-2018-19045
advisories.mageia.org/MGASA-2018-0494.html
bugs.mageia.org/show_bug.cgi?id=24063
lists.fedoraproject.org/archives/list/[email protected]/thread/6YQ7NS6S7B7V2X5NEUJKMTNXL3YPD7H3
suse.com/support/update/announcement/2020/suse-su-20200779-1
bugzilla.suse.com/1015141
bugzilla.suse.com/1069468
bugzilla.suse.com/1158280
bugzilla.suse.com/949238
suse.com/security/cve/CVE-2018-19044
suse.com/security/cve/CVE-2018-19045
suse.com/security/cve/CVE-2018-19046
ubuntu.com/security/CVE-2018-19045
cve.org/CVERecord?id=CVE-2018-19045