CVE-2022-3328
Linux Debian vulnerability analysis and mitigation

Overview

A race condition vulnerability was discovered in the snapd snap-confine binary, specifically in the mustmkdirandopenwith_perms() function. The vulnerability, identified as CVE-2022-3328, was discovered by the Qualys Research Team and affects snapd versions from 2.54.3 to 2.57.5. The issue was introduced as part of the fix for CVE-2021-44731 (Ubuntu Security).

Technical details

The vulnerability is characterized by a race condition that occurs when the snapd snap-confine binary is preparing the private /tmp mount for a snap. The vulnerability has been assigned a CVSS 3.1 score of 7.8 (High), with the following characteristics: Local attack vector, High attack complexity, Low privileges required, No user interaction needed, Changed scope, and High impact on confidentiality, integrity, and availability (Ubuntu Security).

Impact

If successfully exploited, this vulnerability could allow a local attacker to escalate privileges and execute arbitrary code on the affected system (Ubuntu Security, Ubuntu USN).

Mitigation and workarounds

Fixed versions have been released for multiple Ubuntu versions: Ubuntu 22.10 (2.57.5+22.10ubuntu0.1), Ubuntu 22.04 (2.57.5+22.04ubuntu0.1), Ubuntu 20.04 (2.57.5+20.04ubuntu0.1), Ubuntu 18.04 (2.57.5+18.04ubuntu0.1), and Ubuntu 16.04 (2.54.3+16.04.0ubuntu0.1~esm5). Users are advised to update their systems to the latest package versions through standard system updates (Ubuntu USN, Debian Tracker).

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