Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-19046

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-19046
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:18 UTC · Revision 1

Source evidence

CVE-2018-19046

core-osv · Original source

Published 8 Nov 2018, 20:29 UTC

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.

osv:CVE-2018-19046
Complete source record
{
  "id": "9a64421bad1f1077b2000524adcdc0e5399917175667f9b64cdd320e674ace47",
  "url": "https://osv.dev/vulnerability/CVE-2018-19046",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-19046",
    "summary": "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.",
    "evidence": "osv:CVE-2018-19046",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-19046",
      "aliases": [
        "CVE-2018-19046"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/acassen/keepalived",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dc3ed1e1e19f02f91edebe4dd1a5f6ec9daf0545"
                },
                {
                  "last_affected": "dc3ed1e1e19f02f91edebe4dd1a5f6ec9daf0545"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:keepalived:keepalived:2.0.8:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.8"
                      },
                      {
                        "last_affected": "2.0.8"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0.8",
            "v2.0.8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-19046.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:05.829461928Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/201903-01",
        "https://bugzilla.suse.com/show_bug.cgi?id=1015141",
        "https://github.com/acassen/keepalived/issues/1048"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-19046",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381260,
  "published_at": "2018-11-08T20:29:00.51+00:00"
}