CVE-2022-3328: canonical ltd. snapd Race Condition
CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2022-3328USN-5753-1DEBIAN-CVE-2022-3328DLA-3215-1DSA-5292-1GHSA-cjqf-877p-7m3fGO-2024-2468
Published 08-01-2024Last modified 03-06-2025
Vulnerability summary
CVE-2022-3328 is a high (CVSS 7.8) Race Condition vulnerability in canonical ltd. snapd. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.8% of scored vulnerabilities.
CVSS score
7.8/10
010
High · v3.1 (CVE.org)EPSS score
0.38%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 08-01-2024PublishedVulnerability first disclosed.
- 03-06-2025Last modifiedVulnerability information updated.
Description
Race condition in snap-confine's must_mkdir_and_open_with_perms()
CVSS metrics
6 scores · 5 sources · 2 versionsCritical 9.0Preferred score · OSV · Go (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HSourcesSingle source
High 7.8Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HSources5 sources · 7.0–7.8
- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · GoEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- NVDNIST7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
0.00 pp
From 0.38% on 18-09-2026
18-09-202618-10-2026
EPSS score0.38%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Canonical2 products
- snapd< 2.61.1
- ubuntu_linuxEOL16.04 | 18.04 | 20.04 | 22.04 | 22.10
Canonical ltd.1 product
- snapd< 2.61.1
Debian1 product
- snapd< 2.49-1+deb11u2 | < 2.37.4-1+deb10u2 | < 2.57.6-1
Github.com/snapcore1 product
- snapd< 2.57.6 | All versions (No fix recorded)
Ubuntu1 product
- snapd< 2.54.3+16.04.0ubuntu0.1~esm5 | < 2.57.5+18.04ubuntu0.1 | < 2.57.5+20.04ubuntu0.1 | < 2.57.5+22.04ubuntu0.1
5 vendors · 6 products
References
11 links- github.com/snapcore/snapdPACKAGE