CVE-2022-24986 Race condition in n/a

High 7.8 Published Updated

An attacker can intercept temporary files in KCron to execute unauthorized commands due to predictable filenames and race conditions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24986?

CVE-2022-24986 is a high-severity vulnerability in n/a, published on 26 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-668, CWE-362

Which versions are affected by CVE-2022-24986?

It affects 1 product.

Products include Kde Kcron.

How do I fix CVE-2022-24986?

Apply the vendor's patch.

Is CVE-2022-24986 being exploited?

There is no known exploitation of CVE-2022-24986 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-24986, GHSA-5xwv-qfcf-c76h, UBUNTU-CVE-2022-24986, openSUSE-SU-2024:11881-1.

Is CVE-2022-24986 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free