Skip to content
Heist/ feed
Back to feed
High

kcron — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2022-24986

KDE KCron through 21.12.2 uses a temporary file in /tmp when saving, but reuses the filename during an editing session. Thus, someone watching it be created the first time could potentially intercept the file the following time, enabling that person to run unauthorized commands.

Products
kcron
Affected versions
4:15.08.2-0ubuntu1, 4:15.12.1-0ubuntu1, 4:15.12.3-0ubuntu1, 4:17.04.3-0ubuntu1, 4:17.08.3-0ubuntu1, 4:17.12.2-0ubuntu1, 4:17.12.3-0ubuntu1, 4:19.04.3-0ubuntu1, 4:19.08.3-0ubuntu1, 4:19.12.0-0ubuntu1, 4:19.12.1-0ubuntu1, 4:19.12.1-3, 4:19.12.2-0ubuntu1, 4:19.12.3-0ubuntu1, 4:21.08.1-0ubuntu1, 4:21.08.3-0ubuntu1, 4:21.11.80-0ubuntu1, 4:21.11.90-0ubuntu1, 4:21.11.90-0ubuntu2, 4:21.12.0-0ubuntu1, 4:21.12.1-0ubuntu1, 4:21.12.2-0ubuntu1, 4:21.12.3-0ubuntu1, 4:23.08.1-0ubuntu1, 4:23.08.2-0ubuntu1, 4:23.08.3-0ubuntu1, 4:23.08.4-0ubuntu1, 4:23.08.5-0ubuntu1, 4:23.08.5-0ubuntu2, 4:23.08.5-0ubuntu3, 4:24.12.3-0ubuntu1, 4:25.04.0-0ubuntu1, 4:25.04.1-0ubuntu1, 4:25.04.2-0ubuntu1, 4:25.04.3-0ubuntu1, 4:25.07.80-0ubuntu1, 4:25.07.90-0ubuntu1, 4:25.08.0-0ubuntu1, 4:25.08.1-0ubuntu1, 4:25.08.2-0ubuntu1, 4:25.08.3-0ubuntu1, 4:25.11.80-0ubuntu1, 4:25.11.90-0ubuntu1, 4:25.12.0-0ubuntu1, 4:25.12.1-0ubuntu1, 4:25.12.1-0ubuntu2, 4:25.12.2-0ubuntu1, 4:25.12.3-0ubuntu1, 4:26.04.0-1ubuntu2, 4:26.04.1-0ubuntu1, 4:26.04.2-0ubuntu1, 4:26.04.3-0ubuntu1, 4:26.07.90-0ubuntu1, 4:26.08.0-0ubuntu1, 4:26.08.1-0ubuntu1
Fixed versions
Not specified
CVEs
CVE-2022-24986
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:40 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-24986

core-osv · Original source

Published 26 Feb 2022, 05:15 UTC

KDE KCron through 21.12.2 uses a temporary file in /tmp when saving, but reuses the filename during an editing session. Thus, someone watching it be created the first time could potentially intercept the file the following time, enabling that person to run unauthorized commands.

osv:UBUNTU-CVE-2022-24986

kcron

Fixed versions: Not specified

kcron

Fixed versions: Not specified

kcron

Fixed versions: Not specified

kcron

Fixed versions: Not specified

kcron

Fixed versions: Not specified

kcron

Fixed versions: Not specified

kcron

Fixed versions: Not specified

kcron

Fixed versions: Not specified

Complete source record
{
  "id": "32bafa8ade4192c2eb6b35c673b0a779bad1b9f575660306fe6023e54206a826",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-24986",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-24986",
    "summary": "KDE KCron through 21.12.2 uses a temporary file in /tmp when saving, but reuses the filename during an editing session. Thus, someone watching it be created the first time could potentially intercept the file the following time, enabling that person to run unauthorized commands.",
    "evidence": "osv:UBUNTU-CVE-2022-24986",
    "products": [
      {
        "name": {
          "value": "kcron",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4:15.08.2-0ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4:15.12.1-0ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4:15.12.3-0ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kcron",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4:17.04.3-0ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4:17.08.3-0ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4:17.12.2-0ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4:17.12.3-0ubuntu1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kcron",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4:19.04.3-0ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4:19.08.3-0ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4:19.12.0-0ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4:19.12.1-0ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4:19.12.1-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4:19.12.2-0ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4:19.12.3-0ubuntu1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kcron",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4:21.08.1-0ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4:21.08.3-0ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4:21.11.80-0ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4:21.11.90-0ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4:21.11.90-0ubuntu2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4:21.12.0-0ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4:21.12.1-0ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4:21.12.2-0ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "4:21.12.3-0ubuntu1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kcron",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4:23.08.1-0ubuntu1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4:23.08.2-0ubuntu1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4:23.08.3-0ubuntu1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4:23.08.4-0ubuntu1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4:23.08.5-0ubuntu1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4:23.08.5-0ubuntu2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "4:23.08.5-0ubuntu3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kcron",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4:24.12.3-0ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4:25.04.0-0ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4:25.04.1-0ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4:25.04.2-0ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4:25.04.3-0ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4:25.07.80-0ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4:25.07.90-0ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4:25.08.0-0ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "4:25.08.1-0ubuntu1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kcron",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4:25.12.3-0ubuntu1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4:26.04.0-1ubuntu2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4:26.04.1-0ubuntu1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4:26.04.2-0ubuntu1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4:26.04.3-0ubuntu1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4:26.07.90-0ubuntu1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4:26.08.0-0ubuntu1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "4:26.08.1-0ubuntu1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "kcron",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4:25.08.1-0ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4:25.08.2-0ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4:25.08.3-0ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4:25.11.80-0ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4:25.11.90-0ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4:25.12.0-0ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4:25.12.1-0ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4:25.12.1-0ubuntu2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4:25.12.2-0ubuntu1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "4:25.12.3-0ubuntu1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2022-24986",
      "aliases": [
        "UBUNTU-CVE-2022-24986"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kcron",
            "purl": "pkg:deb/ubuntu/kcron?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "4:15.08.2-0ubuntu1",
            "4:15.12.1-0ubuntu1",
            "4:15.12.3-0ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24986.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcron",
                "binary_version": "4:15.12.3-0ubuntu1"
              },
              {
                "binary_name": "kde-config-cron",
                "binary_version": "4:15.12.3-0ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kcron",
            "purl": "pkg:deb/ubuntu/kcron?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "4:17.04.3-0ubuntu1",
            "4:17.08.3-0ubuntu1",
            "4:17.12.2-0ubuntu1",
            "4:17.12.3-0ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24986.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcron",
                "binary_version": "4:17.12.3-0ubuntu1"
              },
              {
                "binary_name": "kde-config-cron",
                "binary_version": "4:17.12.3-0ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kcron",
            "purl": "pkg:deb/ubuntu/kcron?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "4:19.04.3-0ubuntu1",
            "4:19.08.3-0ubuntu1",
            "4:19.12.0-0ubuntu1",
            "4:19.12.1-0ubuntu1",
            "4:19.12.1-3",
            "4:19.12.2-0ubuntu1",
            "4:19.12.3-0ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24986.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kde-config-cron",
                "binary_version": "4:19.12.3-0ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kcron",
            "purl": "pkg:deb/ubuntu/kcron?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "4:21.08.1-0ubuntu1",
            "4:21.08.3-0ubuntu1",
            "4:21.11.80-0ubuntu1",
            "4:21.11.90-0ubuntu1",
            "4:21.11.90-0ubuntu2",
            "4:21.12.0-0ubuntu1",
            "4:21.12.1-0ubuntu1",
            "4:21.12.2-0ubuntu1",
            "4:21.12.3-0ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24986.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kde-config-cron",
                "binary_version": "4:21.12.3-0ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kcron",
            "purl": "pkg:deb/ubuntu/kcron?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "4:23.08.1-0ubuntu1",
            "4:23.08.2-0ubuntu1",
            "4:23.08.3-0ubuntu1",
            "4:23.08.4-0ubuntu1",
            "4:23.08.5-0ubuntu1",
            "4:23.08.5-0ubuntu2",
            "4:23.08.5-0ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24986.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kde-config-cron",
                "binary_version": "4:23.08.5-0ubuntu3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kcron",
            "purl": "pkg:deb/ubuntu/kcron?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4:24.12.3-0ubuntu1",
            "4:25.04.0-0ubuntu1",
            "4:25.04.1-0ubuntu1",
            "4:25.04.2-0ubuntu1",
            "4:25.04.3-0ubuntu1",
            "4:25.07.80-0ubuntu1",
            "4:25.07.90-0ubuntu1",
            "4:25.08.0-0ubuntu1",
            "4:25.08.1-0ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24986.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kde-config-cron",
                "binary_version": "4:25.08.1-0ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kcron",
            "purl": "pkg:deb/ubuntu/kcron?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4:25.12.3-0ubuntu1",
            "4:26.04.0-1ubuntu2",
            "4:26.04.1-0ubuntu1",
            "4:26.04.2-0ubuntu1",
            "4:26.04.3-0ubuntu1",
            "4:26.07.90-0ubuntu1",
            "4:26.08.0-0ubuntu1",
            "4:26.08.1-0ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24986.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kde-config-cron",
                "binary_version": "4:26.08.1-0ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "kcron",
            "purl": "pkg:deb/ubuntu/kcron?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "4:25.08.1-0ubuntu1",
            "4:25.08.2-0ubuntu1",
            "4:25.08.3-0ubuntu1",
            "4:25.11.80-0ubuntu1",
            "4:25.11.90-0ubuntu1",
            "4:25.12.0-0ubuntu1",
            "4:25.12.1-0ubuntu1",
            "4:25.12.1-0ubuntu2",
            "4:25.12.2-0ubuntu1",
            "4:25.12.3-0ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24986.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kde-config-cron",
                "binary_version": "4:25.12.3-0ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:57.247312278Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-24986"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-24986",
        "https://www.openwall.com/lists/oss-security/2022/02/25/3",
        "https://invent.kde.org/system/kcron/-/commit/ef4266e3d5ea741c4d4f442a2cb12a317d7502a1",
        "https://invent.kde.org/system/kcron/-/merge_requests/14",
        "https://kde.org/info/security/advisory-20220216-1.txt",
        "https://apps.kde.org/kcron/",
        "https://www.cve.org/CVERecord?id=CVE-2022-24986"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-24986",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354353,
  "published_at": "2022-02-26T05:15:00+00:00"
}