CVE-2018-19044

NameCVE-2018-19044
Descriptionkeepalived 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
keepalived (PTS)jessie, jessie (lts)1:1.2.13-1+deb8u1vulnerable
stretch (lts), stretch1:1.3.2-1+deb9u1vulnerable
buster (security), buster, buster (lts)1:2.0.10-1+deb10u1fixed
bullseye1:2.1.5-0.2+deb11u1fixed
bookworm1:2.2.7-1fixed
sid, trixie1:2.3.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
keepalivedsourcewheezy(unfixed)end-of-life
keepalivedsource(unstable)1:2.0.10-1unimportant

Notes

https://bugzilla.suse.com/show_bug.cgi?id=1015141
https://github.com/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306
https://github.com/acassen/keepalived/issues/1048

Search for package or bug name: Reporting problems