Security Digest · Vulnerability record
CVE-2022-3328: snapd Race Condition vulnerability
Race condition in snap-confine's mustmkdirandopenwithperms()
CVSS 9.0 Critical EPSS 0.4% · p31
Should you act?
Critical, preconditions apply
Severe if exploited, but exploitation needs conditions that may not apply to you. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.
- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.4%, percentile 31: FIRST’s model estimates a 0.4% chance of exploitation activity in the next 30 days, higher than 31% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes
github.com/snapcore/snapd(Go) < 2.57.6, fixed in 2.57.6. Check your lockfile, including transitive dependencies.
What it is
Race condition in snap-confine's mustmkdirandopenwithperms()
From the GitHub advisory
Race condition in snap-confine's mustmkdirandopenwithperms()
Weakness type: CWE-362.
Product: github.com/snapcore/snapd (Go) · Assigned by: canonical · Published: 2024-01-08
Affected and fixed versions
| Ecosystem | Package | Vulnerable | First fixed |
|---|---|---|---|
| Go | github.com/snapcore/snapd | < 2.57.6 | 2.57.6 |
| Vendor | Product | Affected versions (per CVE record) |
|---|---|---|
| Canonical Ltd. | snapd | < 2.61.1 |
Severity scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| canonical | 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 4.0 | 9.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 |
- Attack vector: network (remotely reachable)
- Attack complexity: high (needs special conditions)
- Attack requirements: none
- Privileges required: low (any account)
- User interaction: none
CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.
Exploitation and urgency
- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none, automatable no, technical impact total.
- FIRST EPSS (model of 2026-10-21): 0.38% probability of exploitation activity in the next 30 days; percentile 31.
Timeline
- — CVE record published by canonical
- — GitHub-reviewed advisory GHSA-cjqf-877p-7m3f published (critical)
- — CVE record last updated
Sources and references
Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.
Vulnerability records
- GitHub Advisory GHSA-cjqf-877p-7m3f github.com
- CVE.org record CVE-2022-3328 cve.org
- NVD entry CVE-2022-3328 nvd.nist.gov
Other references from the CVE record and advisory
- cve.mitre.org cve.mitre.org
- ubuntu.com ubuntu.com
- github.com github.com
- github.com github.com
- github.com github.com