{"schemaVersion":3,"id":"CVE-2018-19044","aliases":["RHSA-2019:2285","UBUNTU-CVE-2018-19044","DEBIAN-CVE-2018-19044"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-11-08T20:00:00.000Z","modified":"2024-08-05T11:30:03.571Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.7,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":4.7,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.3,"severity":"low","vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Red hat","score":7,"severity":"high","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":2.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":4.7,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":2.6,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":4.7,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":2.6,"impact":6,"computed":true}]},"epss":{"probability":0.00501,"percentile":0.41639,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00501},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00501,"percentile":0.41639}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00501,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00501,"percentile":0.41639}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ACASSEN_KEEPALIVED","name":"Keepalived","source":"github","url":"https://github.com/acassen/keepalived/issues/1048","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"debian","product":"keepalived","name":"keepalived","label":"keepalived","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/keepalived","purlType":"deb","versions":[{"text":"< 1:2.0.10-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.0.10-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"keepalived","name":"keepalived","label":"keepalived","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/keepalived","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"keepalived","product":"keepalived","name":"keepalived","label":"keepalived","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0.8","eol":null,"hubHref":"/vendor/keepalived/keepalived"},{"vendor":"redhat","product":"keepalived","name":"keepalived","label":"keepalived","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/keepalived","purlType":"rpm","versions":[{"text":"< 0:1.3.5-16.el7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.3.5-16.el7","eol":null,"hubHref":null},{"vendor":"redhat","product":"keepalived-debuginfo","name":"keepalived-debuginfo","label":"keepalived-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/keepalived-debuginfo","purlType":"rpm","versions":[{"text":"< 0:1.3.5-16.el7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.3.5-16.el7","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306","label":"github.com/acassen/keepalived/commit/04f2d32871bb3b11d7dc024039952f2fe2750306","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201903-01","label":"security.gentoo.org/glsa/201903-01","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1015141","label":"bugzilla.suse.com/show_bug.cgi?id=1015141","hostname":"bugzilla.suse.com","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/acassen/keepalived/issues/1048","label":"github.com/acassen/keepalived/issues/1048","hostname":"github.com","tags":["X Refsource MISC","Exploit","Patch","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2285","label":"access.redhat.com/errata/RHSA-2019:2285","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index","label":"access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1651863","label":"bugzilla.redhat.com/show_bug.cgi?id=1651863","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1667292","label":"bugzilla.redhat.com/show_bug.cgi?id=1667292","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_2285.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_2285.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-19044","label":"access.redhat.com/security/cve/CVE-2018-19044","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-19044","label":"www.cve.org/CVERecord?id=CVE-2018-19044","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19044","label":"nvd.nist.gov/vuln/detail/CVE-2018-19044","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-19044","label":"ubuntu.com/security/CVE-2018-19044","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-19044","label":"security-tracker.debian.org/tracker/CVE-2018-19044","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2018-0494","OPENSUSE-SU-2024:10893-1","SUSE-SU-2020:0779-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10893-1","SUSE-SU-2020:0779-1"]},"timeline":[{"kind":"published","date":"2018-11-08T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T11:30:03.571Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T09:12:00.362Z","stale":false,"partial":false}}