CVE-2022-3328
highpriority · track · 38EPSS 0.004 · 32 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-27
Race condition in snap-confine's must_mkdir_and_open_with_perms()
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.6–8.4
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- Mr-xn/CVE-2022-3328CVE-2022-3328 with CVE-2022-41974 and CVE-2022-41973PoC · poc_in_github
affected products (17)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-2224Canonical Snap: Schwachstelle ermöglicht PrivilegieneskalationDeutsch2022-12-04csaf · cert_bundDE
Ein lokaler Angreifer kann eine Schwachstelle in Canonical Snap und Ubuntu Linux ausnutzen, um seine Privilegien zu erhöhen.
- GHSA-cjqf-877p-7m3fsnapd Race Condition vulnerability2024-01-08ghsa · osvUS
Race condition in snap-confine's `must_mkdir_and_open_with_perms()`
- GO-2024-2468snapd Race Condition vulnerability in github.com/snapcore/snapd2024-06-05vendor · osvUS
snapd Race Condition vulnerability in github.com/snapcore/snapd. NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions. (If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.) The additional affected modules and versions are: github.com/snapcore/snapd before v2.57.6.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3328cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-3328/cnnvd
- https://cxsecurity.com/issue/WLB-2022120021cnnvd
- https://packetstormsecurity.com/files/170072/Ubuntu-Security-Notice-USN-5753-1.htmlcnnvd
- https://packetstormsecurity.com/files/170077/Debian-Security-Advisory-5292-1.htmlcnnvd
- https://packetstormsecurity.com/files/170176/snap-confine-must_mkdir_and_open_with_perms-Race-Condition.htmlcnnvd
- https://ubuntu.com/security/notices/USN-5753-1cnnvd
- https://vigilance.fr/vulnerability/snap-confine-file-read-write-via-must-mkdir-and-open-with-perms-39990cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan