CVE-2018-19044

keepalived: Improper pathname validation allows for overwrite of arbitrary filenames via symlinks

Published Nov 8, 2018 CVSS 3.0 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
keepalived 2.0.8 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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-10762 keepalived 2.0.8 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00231}

epss

{'score': 0.00313}

Type Values Removed Values Added
Metrics epss

{'score': 0.0016}

epss

{'score': 0.00231}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 11:30 AM
Reserved
Nov 6, 2018, 12:00 AM
Status
Modified
Published
Nov 8, 2018, 8:29 PM
Modified
Jun 17, 2026, 1:48 AM
Severity
Moderate
Public date
Nov 8, 2018, 12:00 AM