{"id":"CVE-2022-3328","aliases":["CVE-2022-3328","GHSA-cjqf-877p-7m3f","GO-2024-2468"],"related":[],"kind":"vulnerability","state":"published","title":"snapd Race Condition vulnerability","summary":"Race condition in snap-confine's must_mkdir_and_open_with_perms()","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Race condition in snap-confine's must_mkdir_and_open_with_perms()","source":"cvelist"},{"lang":"en","text":"Race condition in snap-confine's `must_mkdir_and_open_with_perms()`","format":"markdown","source":"ghsa"},{"lang":"en","text":"snapd Race Condition vulnerability in github.com/snapcore/snapd.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/snapcore/snapd before v2.57.6.","format":"markdown","source":"go"},{"lang":"es","text":"Condición de ejecución en must_mkdir_and_open_with_perms() de snap-confine","source":"nvd"}],"published":"2024-01-08T18:04:10.534Z","modified":"2026-06-17T04:59:18.940Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":7.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.61.1","status":"affected"}],"vendor":"Canonical Ltd.","product":"snapd","package":"snapd","repo":"https://github.com/snapcore/snapd","platforms":["Linux"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.57.6"}],"ecosystem":"Go","package":"github.com/snapcore/snapd","purl":"pkg:golang/github.com/snapcore/snapd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/snapcore/snapd","purl":"pkg:golang/github.com/snapcore/snapd","source":"go"},{"ranges":[{"status":"affected","fixed":"2.61.1"}],"vendor":"canonical","product":"snapd","cpe":"cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"16.04"},{"status":"affected","version":"18.04"},{"status":"affected","version":"20.04"},{"status":"affected","version":"22.04"},{"status":"affected","version":"22.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*","source":"nvd"}],"references":[{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3328","tags":["advisory","issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://ubuntu.com/security/notices/USN-5753-1","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3328","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/snapcore/snapd/pull/12380","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/snapcore/snapd/commit/21ebc51f00b8a1417888faa2e83a372fd29d0f5e","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/snapcore/snapd/commit/6226cdc57052f4b7057d92f2e549aa169e35cd2d","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/snapcore/snapd","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-cjqf-877p-7m3f","tags":["advisory"],"sources":["go"]}],"credits":["Qualys"],"assigner":"canonical","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-05-08T20:08:36.326Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-3328","url":"https://www.cve.org/CVERecord?id=CVE-2022-3328","licence":"CVE Terms of Use","modified":"2025-06-03T14:35:04.952Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cjqf-877p-7m3f","url":"https://github.com/advisories/GHSA-cjqf-877p-7m3f","licence":"CC-BY-4.0","modified":"2024-11-18T16:26:34.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2468","url":"https://pkg.go.dev/vuln/GO-2024-2468","licence":"CC-BY-4.0","modified":"2024-07-09T19:33:56.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-3328","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3328","licence":"Public domain","modified":"2026-06-17T04:59:18.940Z"}],"updatedAt":"2026-11-25T22:58:19.710Z","epss":{"score":0.00384,"percentile":0.34549,"date":"2026-12-01T12:00:22.000Z"}}