CVE-2022-3328
Publication date 30 November 2022
Last updated 18 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
Race condition in snap-confine's must_mkdir_and_open_with_perms()
From the Ubuntu Security Team
The Qualys Research Team discovered that a race condition existed in the snapd snap-confine binary when preparing the private /tmp mount for a snap. A local attacker could possibly use this issue to escalate privileges and execute arbitrary code.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| snapd | 25.10 questing |
Not affected
|
| 25.04 plucky |
Not affected
|
|
| 24.04 LTS noble |
Not affected
|
|
| 22.04 LTS jammy |
Fixed 2.57.5+22.04ubuntu0.1
|
|
| 20.04 LTS focal |
Fixed 2.57.5+20.04ubuntu0.1
|
|
| 18.04 LTS bionic |
Fixed 2.57.5+18.04ubuntu0.1
|
|
| 16.04 LTS xenial |
Fixed 2.54.3+16.04.0ubuntu0.1~esm5
|
|
| 14.04 LTS trusty | Ignored end of standard support |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialNotes
alexmurray
vuln introduced as part of the fix for CVE-2021-44731 - as such affects upstream versions 2.54.3 to 2.57.5
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | High |
| Privileges required | Low |
| User interaction | None |
| Scope | Changed |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-5753-1
- snapd vulnerability
- 1 December 2022