{"id":"UBUNTU-CVE-2022-24986","details":"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.","modified":"2026-05-20T16:07:50.880706195Z","published":"2022-02-26T05:15:00Z","upstream":["CVE-2022-24986"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-24986"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2022/02/25/3"},{"type":"REPORT","url":"https://invent.kde.org/system/kcron/-/commit/ef4266e3d5ea741c4d4f442a2cb12a317d7502a1"},{"type":"REPORT","url":"https://invent.kde.org/system/kcron/-/merge_requests/14"},{"type":"REPORT","url":"https://kde.org/info/security/advisory-20220216-1.txt"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2022/02/25/3"},{"type":"REPORT","url":"https://apps.kde.org/kcron/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-24986"}],"affected":[{"package":{"name":"kcron","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/kcron?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4:15.08.2-0ubuntu1","4:15.12.1-0ubuntu1","4:15.12.3-0ubuntu1"],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24986.json"}},{"package":{"name":"kcron","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/kcron?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4:17.04.3-0ubuntu1","4:17.08.3-0ubuntu1","4:17.12.2-0ubuntu1","4:17.12.3-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"4:17.12.3-0ubuntu1","binary_name":"kcron"},{"binary_name":"kde-config-cron","binary_version":"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"}},{"package":{"name":"kcron","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/kcron?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"kde-config-cron","binary_version":"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"}},{"package":{"name":"kcron","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/kcron?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"kde-config-cron","binary_version":"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"}},{"package":{"name":"kcron","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/kcron?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"kde-config-cron","binary_version":"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"}},{"package":{"name":"kcron","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/kcron?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"kde-config-cron","binary_version":"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"}},{"package":{"name":"kcron","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/kcron?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"kde-config-cron","binary_version":"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"}}],"schema_version":"1.7.5","severity":[{"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"}]}