CVE-2018-19046
publishedkeepalived: Insecure use of temporary files allows attackers read sensitive information from pre-existing files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP1 | keepalivedaarch64 | Advisory build | 2.0.19-3.3.1 | SUSE-SU-2020:0779-1 |
| Alpine Linux | v3.10 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.11 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.12 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.13 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.14 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
Show 19 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.15 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.16 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.17 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.18 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.19 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.20 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.21 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.22 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.23 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.24 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.8 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| Alpine Linux | v3.9 | keepalived | Fixed | 2.0.11-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP1 | keepalivedppc64le | Advisory build | 2.0.19-3.3.1 | SUSE-SU-2020:0779-1 |
| SUSE / openSUSE | SLE-15-SP1 | keepaliveds390x | Advisory build | 2.0.19-3.3.1 | SUSE-SU-2020:0779-1 |
| SUSE / openSUSE | SLE-15-SP1 | keepalivedx86_64 | Advisory build | 2.0.19-3.3.1 | SUSE-SU-2020:0779-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | keepalivedaarch64 | Advisory build | 2.2.2-4.2 | OPENSUSE-SU-2024:10893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | keepalivedppc64le | Advisory build | 2.2.2-4.2 | OPENSUSE-SU-2024:10893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | keepaliveds390x | Advisory build | 2.2.2-4.2 | OPENSUSE-SU-2024:10893-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | keepalivedx86_64 | Advisory build | 2.2.2-4.2 | OPENSUSE-SU-2024:10893-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
3- https://bugzilla.suse.com/show_bug.cgi?id=1015141
- https://github.com/acassen/keepalived/issues/1048
- GLSA-201903-01 https://security.gentoo.org/glsa/201903-01
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 16124e65d98073f3991c16d96f6f44b79973eefbc50283569a55492bb62cbb81
- Ingested
- 23 Sep 2026, 07:44:07 UTC
- Source record
- Official CVE record