Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-25326 EUVD-2022-1106GHSA-chxf-fjcf-7fwpGHSA-mpq4-rjj8-fjphGO-2022-0339

Denial of Service in fscrypt

Published Feb 25, 2022 · Updated Apr 21, 2025 · Assigned by Google

Description

fscrypt through v0.3.2 creates a world-writable directory by default when setting up a filesystem, allowing unprivileged users to exhaust filesystem space. We recommend upgrading to fscrypt 0.3.3 or above and adjusting the permissions on existing fscrypt metadata directories where applicable.

Affected products

VendorProductAffectedFixed
Google fscrypt unspecified – ≤ 0.3.2 —

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 fscrypt 0.3.3-1 —
Debian 13 fscrypt 0.3.3-1 —
Debian 12 fscrypt 0.3.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS fscrypt No fix yet —
Ubuntu 18.04 LTS fscrypt No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed fscrypt 0.3.3-1.1 openSUSE-SU-2024:11902-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/google/fscrypt < 0.3.3 0.3.3 GHSA-chxf-fjcf-7fwp

Advisories 1

References