Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2022-3328 EUVD-2024-0335GHSA-cjqf-877p-7m3fGO-2024-2468

snapd Race Condition vulnerability

Published Jan 8, 2024 · Updated Jun 3, 2025 · Assigned by canonical

Description

Race condition in snap-confine's must_mkdir_and_open_with_perms()

Affected products

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

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

EcosystemPackageAffectedFixedRecord
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

References