Description
Race condition in snap-confine's must_mkdir_and_open_with_perms()
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Canonical | snapd | < 2.61.1 | 2.61.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | snapd | 2.57.6-1 | — |
| Debian 13 | snapd | 2.57.6-1 | — |
| Debian 12 | snapd | 2.57.6-1 | — |
| Debian 11 | snapd | 2.49-1+deb11u2 | DSA-5292-1 |
| Debian 10 | snapd | 2.37.4-1+deb10u2 | DLA-3215-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | snapd | 2.57.5+22.04ubuntu0.1 | USN-5753-1 |
| Ubuntu 20.04 LTS | snapd | 2.57.5+20.04ubuntu0.1 | USN-5753-1 |
| Ubuntu 18.04 LTS | snapd | 2.57.5+18.04ubuntu0.1 | USN-5753-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | snapd | 2.54.3+16.04.0ubuntu0.1~esm5 | USN-5753-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
Mr-xn/CVE-2022-3328 ★ 4 · Dec 1, 2022
CVE-2022-3328 with CVE-2022-41974 and CVE-2022-41973
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/snapcore/snapd | < 2.57.6 | 2.57.6 | GHSA-cjqf-877p-7m3f |
| Go | github.com/snapcore/snapd | all versions | — | GO-2024-2468 |
Advisories 4
- USN-5753-1 snapd vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- DSA-5292-1 snapd - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3215-1 snapd - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2022-2224 Canonical Snap: Schwachstelle ermöglicht Privilegieneskalation BSI CERT-Bund (WID) · Jan 8, 2024
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3328 issue-tracking
- https://ubuntu.com/security/notices/USN-5753-1 third-party-advisory