CVE-2022-3328Canonical Snapd
High 7.0
Follow: this CVE · Canonical · Canonical Snapd We alert you by email or Slack (account required).
- Priority
- 42
- CVSS 3.1
- 7.0
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 8
- Auth required
- Yes
- Published
- Jan 8, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-362
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
Race condition in snap-confine's must_mkdir_and_open_with_perms()
What to do
- Apply the vendor's security update for Snapd.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/snapcore/snapd |
< 2.57.6 |
2.57.6 |
go get github.com/snapcore/snapd@v2.57.6 |
| Go | github.com/snapcore/snapd |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-cjqf-877p-7m3f, GO-2024-2468). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | snapd | < 2.61.1 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 20.04 |
| canonical | ubuntu_linux | 22.04 |
| canonical | ubuntu_linux | 22.10 |
Official sources
References
Links published by the sources. Open them with care.
- cve.mitre.org Third Party Advisory
- ubuntu.com Vendor Advisory