Skip to content
Fencer Vulns
high 7.8

CVE-2022-3328 json

snapd Race Condition vulnerability

published 2024-01-08 2 y ago modified 2026-06-17 4 mo 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

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
18 mo ago

Exploit prediction

0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).

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

Sources

Fencer Vulns 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.