Bug 2055868 (CVE-2022-24986)

Summary: CVE-2022-24986 kcron: Invalid temporary file handling
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jgrulich, kde-sig, me, m, rdieter, than
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-02 20:21:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2055870, 2055869    
Bug Blocks:    

Description Pedro Sampaio 2022-02-17 20:25:03 UTC
KCron is a module for the System Settings application. The module identifies itself with the "Task Scheduler" user visible name. It allows users to edit crontabs (both user-specific and system-wide) in a GUI interface. The code of the module doesn't use temporary files correctly neither when
reading the existing crontab nor when saving the new one.

References:

https://kde.org/info/security/advisory-20220216-1.txt

Comment 1 Pedro Sampaio 2022-02-17 20:25:29 UTC
Created kcron tracking bugs for this issue:

Affects: epel-8 [bug 2055870]
Affects: fedora-all [bug 2055869]

Comment 2 Product Security DevOps Team 2022-03-02 20:21:07 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.