Insecure Temporary File Affecting kcron package, versions [,21.12.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-KCRON-2414024
  • published27 Feb 2022
  • disclosed27 Feb 2022
  • creditCarlos López

Introduced: 27 Feb 2022

CVE-2022-24986  (opens in a new tab)
CWE-377  (opens in a new tab)

How to fix?

Upgrade kcron to version 21.12.3 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Temporary File. KCron 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.

CVSS Base Scores

version 3.1