Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/snapcore/snapd
  4. ›
  5. CVE-2022-3328

CVE-2022-3328: snapd Race Condition vulnerability

January 8, 2024 (updated November 18, 2024)

Race condition in snap-confine’s must_mkdir_and_open_with_perms()

References

  • cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3328
  • github.com/advisories/GHSA-cjqf-877p-7m3f
  • github.com/snapcore/snapd
  • github.com/snapcore/snapd/commit/21ebc51f00b8a1417888faa2e83a372fd29d0f5e
  • github.com/snapcore/snapd/commit/6226cdc57052f4b7057d92f2e549aa169e35cd2d
  • github.com/snapcore/snapd/pull/12380
  • nvd.nist.gov/vuln/detail/CVE-2022-3328
  • ubuntu.com/security/notices/USN-5753-1

Code Behaviors & Features

Detect and mitigate CVE-2022-3328 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.57.6

Fixed versions

  • 2.57.6

Solution

Upgrade to version 2.57.6 or above.

Impact 7 HIGH

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

go/github.com/snapcore/snapd/CVE-2022-3328.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:30 +0000.