VDB
CVE-2022-3328
CVE-2022-3328
PUBLISHED
CVSS 7.8 HIGH
Race condition in snap-confine's must_mkdir_and_open_with_perms()
Reported by canonical · Published January 8, 2024
github.com/snapcore/snapd is fixed in 2.57.6 (Go Modules)
Race condition in snap-confine's must_mkdir_and_open_with_perms()
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/snapcore/snapd | Go Modules | 2.57.6 |
| snapd | canonical | 2.61.1 |
| snapd | Canonical Ltd. | 2.61.1 |
Risk scores
CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Canonical Ltd. | snapd | 0 |
| Canonical Ltd. | snapd | 0 |
| github.com | snapcore/snapd | 0 |
Timeline
- Dec 4, 2022 CVE Published
- Dec 10, 2022 PoC Published
- Jan 10, 2024 EPSS Score (30 in total, the first dated here)
- Jun 3, 2025 CVE Updated
- Mar 11, 2026 Distribution Patch
- Mar 11, 2026 Security Advisory (2 in total, the first dated here)
- Jun 23, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-3328
vulnetix vdb fixes CVE-2022-3328
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-3328/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- issue-tracking
- third-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-3328 advisory
- https://github.com/advisories/GHSA-cjqf-877p-7m3f advisory
- https://github.com/snapcore/snapd/pull/12380 patch
- https://github.com/snapcore/snapd/commit/21ebc51f00b8a1417888faa2e83a372fd29d0f5e patch
- https://github.com/snapcore/snapd/commit/6226cdc57052f4b7057d92f2e549aa169e35cd2d patch
- https://github.com/snapcore/snapd url