{"id":"CVE-2018-19044","aliases":["DEBIAN-CVE-2018-19044","EUVD-2018-10762","GHSA-2357-m5j6-6jv3","MGASA-2018-0494","RHSA-2019:2285","SUSE-SU-2020:0779-1","UBUNTU-CVE-2018-19044","openSUSE-SU-2024:10893-1"],"status":"published","title":"keepalived 2.0.8 didn't check for pathnames with symlinks when writing data to a temporary file...","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.","severity":{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00501,"percentile":0.43196,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59"],"published":"2018-11-08T20:00:00Z","modified":"2026-10-23T18:03:03Z","fixes":[{"ecosystem":"Debian:12","package":"keepalived","fixed_in":["1:2.0.10-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"keepalived","fixed_in":["1:2.0.10-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"keepalived","fixed_in":["1:2.0.10-1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"keepalived","fixed_in":["0:1.3.5-16.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"keepalived-debuginfo","fixed_in":["0:1.3.5-16.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"keepalived","fixed_in":["0:1.3.5-16.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"keepalived-debuginfo","fixed_in":["0:1.3.5-16.el7"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"keepalived","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.10-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"keepalived","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.10-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"keepalived","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.10-1"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"keepalived","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.10-1.mga6"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"keepalived","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.5-16.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"keepalived-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.5-16.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"keepalived","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.5-16.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"keepalived-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.5-16.el7"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP1","package":"keepalived","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.19-3.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"keepalived","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.3.2-1build1","1:1.3.9-1","1:1.3.9-1build1","1:1.3.9-1ubuntu0.18.04.1","1:1.3.9-1ubuntu0.18.04.2","1:1.3.9-1ubuntu0.18.04.3"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"keepalived","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.2-4.2"}]}],"bundled":3}],"products":[{"vendor":"keepalived","product":"keepalived"}],"references":[{"url":"https://github.com/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://security.gentoo.org/glsa/201903-01","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1015141","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/acassen/keepalived/issues/1048","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2285","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19044","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2357-m5j6-6jv3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-19044","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0494.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=24063","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/6YQ7NS6S7B7V2X5NEUJKMTNXL3YPD7H3/","tags":["web"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1651863","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1667292","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_2285.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-19044","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-19044","tags":["advisory","report"]},{"url":"https://www.suse.com/support/update/announcement/2020/suse-su-20200779-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1015141","tags":["report"]},{"url":"https://bugzilla.suse.com/1069468","tags":["report"]},{"url":"https://bugzilla.suse.com/1158280","tags":["report"]},{"url":"https://bugzilla.suse.com/949238","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19044","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19045","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19046","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-19044","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2018-19044","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.","status":"published","published":"2018-11-08T20:00:00Z","modified":"2024-08-05T11:30:03.571Z","updated_at":"2026-11-02T14:35:02.966615Z"}],"euvd":[{"id":"EUVD-2018-10762","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.","status":"published","published":"2018-11-08T20:00:00Z","modified":"2024-08-05T11:30:03Z","updated_at":"2026-11-03T02:39:34.247095Z"}],"ghsa":[{"id":"GHSA-2357-m5j6-6jv3","title":"keepalived 2.0.8 didn't check for pathnames with symlinks when writing data to a temporary file...","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.","status":"published","published":"2022-05-14T00:54:45Z","modified":"2023-02-02T05:02:48Z","cvss":[{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:51:30.862811Z"}],"nvd":[{"id":"CVE-2018-19044","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.","status":"published","published":"2018-11-08T20:29:00.323Z","modified":"2026-06-17T01:48:41.027Z","cvss":[{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.3,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:04:47.196456Z"}],"osv":[{"id":"CVE-2018-19044","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.","status":"published","published":"2018-11-08T20:29:00.323Z","modified":"2026-10-20T13:31:42.037274109Z","cvss":[{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:08.834469Z"},{"id":"DEBIAN-CVE-2018-19044","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.","status":"published","published":"2018-11-08T20:29:00.323Z","modified":"2026-10-23T18:03:03.302700482Z","cvss":[{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"RHSA-2019:2285","title":"Red Hat Security Advisory: keepalived security and bug fix update","status":"published","published":"2024-09-16T02:19:14Z","modified":"2026-06-26T10:43:12Z","cvss":[{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:06.0195Z"},{"id":"UBUNTU-CVE-2018-19044","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.","status":"published","published":"2018-11-08T20:29:00Z","modified":"2025-10-24T04:47:16Z","cvss":[{"version":"3.0","score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:17.496046Z"},{"id":"MGASA-2018-0494","title":"Updated keepalived package fixes security vulnerabilities","description":"keepalived before version 2.0.9 didn't check for pathnames with symlinks\nwhen writing data to a temporary file upon a call to PrintData or\nPrintStats. This allowed local users to overwrite arbitrary files if\nfs.protected_symlinks is set to 0, as demonstrated by a symlink from\n/tmp/keepalived.data or /tmp/keepalived.stats to /etc/passwd\n(CVE-2018-19044).\n\nkeepalived before version 2.0.9 used mode 0666 when creating new\ntemporary files upon a call to PrintData or PrintStats, potentially\nleaking sensitive information (CVE-2018-19045).\n\nkeepalived before version 2.0.10 didn't check for existing plain files\nwhen writing data to a temporary file upon a call to PrintData or\nPrintStats. If a local attacker had previously created a file with the\nexpected name (e.g., /tmp/keepalived.data or /tmp/keepalived.stats),\nwith read access for the attacker and write access for the keepalived\nprocess, then this potentially leaked sensitive information\n(CVE-2018-19046).\n\nkeepalived before version 2.0.9 has a heap-based buffer overflow when\nparsing HTTP status codes resulting in DoS or possibly unspecified other\nimpact, because extract_status_code in lib/html.c has no validation of\nthe status code and instead writes an unlimited amount of data to the\nheap (CVE-2018-19115).\n","status":"published","published":"2018-12-29T23:24:32Z","modified":"2026-04-16T06:26:24.398327501Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"openSUSE-SU-2024:10893-1","title":"keepalived-2.2.2-4.2 on GA media","description":"These are all security issues fixed in the keepalived-2.2.2-4.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:27:16.449504Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"SUSE-SU-2020:0779-1","title":"Security update for keepalived","description":"This update for keepalived fixes the following issues:\n\nInitial release of keepalived v2.0.19 as supported package. (bsc#1158280, jsc#ECO-223)\n\n","status":"published","published":"2020-03-24T20:12:06Z","modified":"2026-02-04T04:27:38.437174Z","updated_at":"2026-11-02T15:53:47.634847Z"}]}}
