CVE-2022-3328 json
snapd Race Condition vulnerability
published 2y ago modified 4mo ago also GHSA-cjqf-877p-7m3f , GO-2024-2468 , EUVD-2024-0335
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
Race condition in snap-confine's must_mkdir_and_open_with_perms()
Patch / fix
- go github.com/snapcore/snapd 2.57.6
- Canonical Ltd. snapd 2.61.1
- snapd Debian 14, Debian 13, Debian 12 2.57.6-1
debian advisories DEBIAN-CVE-2022-3328
- snapd Ubuntu 18.04 LTS 2.57.5+18.04ubuntu0.1
- snapd Ubuntu 20.04 LTS 2.57.5+20.04ubuntu0.1
- snapd Ubuntu 22.04 LTS 2.57.5+22.04ubuntu0.1
- snapd Ubuntu Pro 16.04 LTS 2.54.3+16.04.0ubuntu0.1~esm5
ubuntu advisories UBUNTU-CVE-2022-3328
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/snapcore/snapd@21ebc51 commit
- github.com/snapcore/snapd@6226cdc commit
- github.com/snapcore/snapd#12380 pull request
Is CVE-2022-3328 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/snapcore/snapd | <2.57.6 all versions |
2.57.6 |
Affected products
- Canonical Ltd. snapd
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
References
-
github.com
/snapcore/snapd/pull/12380
web, patch
-
github.com
/snapcore/snapd/commit/21ebc51f00b8a1417888faa2e83a372fd29d0f5e
web, patch
-
github.com
/snapcore/snapd/commit/6226cdc57052f4b7057d92f2e549aa169e35cd2d
web, patch
-
ubuntu.com
/security/notices/USN-5753-1
third-party-advisory, web, vendor-advisory
-
cve.mitre.org
/cgi-bin/cvename.cgi?name=CVE-2022-3328
issue-tracking, web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-3328
advisory
-
github.com
/snapcore/snapd
package
-
github.com
/advisories/GHSA-cjqf-877p-7m3f
advisory
Sources
- CVE List CVE-2022-3328
- GitHub Advisory GHSA-cjqf-877p-7m3f
- NVD CVE-2022-3328
- OSV GO-2024-2468
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.