CVE-2022-3328: Race Condition

Published Jan 8, 2024
·
Updated

Last updated 24 July 2024

Other sources

Race condition in snap-confine's mustmkdirandopenwithperms()

— GitHub

Race condition in snap-confine's mustmkdirandopenwithperms()

— Launchpad

Affected Software

11 affected componentsFixes available
go/github.com/snapcore/snapd<2.57.6
2.57.6
Canonical snapd<2.61.1
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Canonical Ubuntu Linux=22.04
Canonical Ubuntu Linux=22.10
debian/snapd<2.57.6-1
2.57.6-1
debian/snapd<2.57.6-1
2.57.6-1
debian/snapd<2.57.6-1
2.57.6-1
debian/snapd
2.57.6-1+deb12u12.68.3-3+deb13u12.77.1-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/snapcore/snapd to a version that resolves this vulnerability.

    Fixed in 2.57.6
  2. Upgrade

    Upgrade debian/snapd to a version that resolves this vulnerability.

    Fixed in 2.57.6-1+deb12u1Fixed in 2.68.3-3+deb13u1Fixed in 2.77.1-2
  3. Upgrade

    Upgrade debian/snapd to a version that resolves this vulnerability.

    Fixed in 2.57.6-1

Event History

Dec 1, 2022
Exploit Published
via GitHub·11:57 AM
Jan 8, 2024
CVE Published
via MITRE·06:04 PM
Data Sourced
via MITRE·06:04 PM
DescriptionSeverity
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·06:30 PM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2022-3328?

CVE-2022-3328 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2022-3328?

To fix CVE-2022-3328, update your 'snapd' package to version 2.57.5+18.04ubuntu0.1, 2.57.5+20.04ubuntu0.1, 2.57.5+22.04ubuntu0.1, or later.

3

Which versions of 'snapd' are affected by CVE-2022-3328?

CVE-2022-3328 affects 'snapd' versions prior to 2.57.5+18.04ubuntu0.1, 2.57.5+20.04ubuntu0.1, 2.57.5+22.04ubuntu0.1, and others.

4

What system is primarily affected by CVE-2022-3328?

CVE-2022-3328 primarily affects Ubuntu operating systems utilizing the 'snapd' package.

5

Is there an alternative solution for CVE-2022-3328 apart from updating?

The recommended approach for CVE-2022-3328 is to apply the necessary updates, as alternative solutions may not fully mitigate the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203