CVE-2022-21945
Homebrew vulnerability analysis and mitigation

Overview

A Insecure Temporary File vulnerability (CVE-2022-21945) was discovered in cscreen of openSUSE Factory. The vulnerability affects cscreen version 1.2-1.3 and prior versions. The issue was identified in the usage of a fixed path /tmp/cscreen.debug in the script /usr/bin/cscreenupdateconfig.sh (SUSE Bugzilla).

Technical details

The vulnerability stems from the cscreen package using a fixed path /tmp/cscreen.debug in the script /usr/bin/cscreenupdateconfig.sh. The script writes debug information to this fixed location without proper security controls. The CVSS v3.1 base score is 6.1 MEDIUM (Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H) according to NVD assessment (NVD).

Impact

Without symlink protection, this vulnerability could be exploited as a local Denial of Service (DoS) vector against the system. By placing a FIFO in the vulnerable location, it could lead to a dedicated DoS and potential information leak against the update script (SUSE Bugzilla).

Mitigation and workarounds

The issue has been fixed by changing the debug file location to /run/cscreen/ with appropriate access controls. The fix was implemented upstream in the cscreen repository (SUSE Bugzilla).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management