CVE-2022-3328
HIGH 7.0CVSS 3.1snapd Race Condition vulnerability
Race condition in snap-confine's must_mkdir_and_open_with_perms()
- Published
- 8 Jan 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Modified
- Weakness
- CWE-362
- Also known as
- GHSA-cjqf-877p-7m3fGO-2024-2468
- Sources
- NVDJSONOSV GHSA-cjqf-877p-7m3fJSONOSV GO-2024-2468JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | |
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | snapdcpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:* |
< 2.61.1 | 2.61.1 |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:esm:*:*:* |
= 18.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* |
= 20.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:* |
= 22.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:22.10:*:*:*:-:*:*:* |
= 22.10 | |
| OSV | Go | github.com/snapcore/snapd | < 2.57.6 | 2.57.6 |
| OSV | Go | github.com/snapcore/snapd | all versions |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3328 · Third Party Advisory, WEB, ADVISORY
- https://ubuntu.com/security/notices/USN-5753-1 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-3328 · ADVISORY
- https://github.com/snapcore/snapd/pull/12380 · WEB, FIX
- https://github.com/snapcore/snapd/commit/21ebc51f00b8a1417888faa2e83a372fd29d0f5e · WEB, FIX
- https://github.com/snapcore/snapd/commit/6226cdc57052f4b7057d92f2e549aa169e35cd2d · WEB, FIX
- https://github.com/snapcore/snapd · PACKAGE
- https://github.com/advisories/GHSA-cjqf-877p-7m3f · ADVISORY
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 8 Jan 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Jan 2024)