CVE-2022-25326Google Fscrypt
Medium 5.5
Follow: this CVE · Google · Google Fscrypt We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.1% probability of exploitation in 30 days · percentile 2
- Auth required
- Yes
- Published
- Feb 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Fscrypt.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/google/fscrypt |
< 0.3.3 |
0.3.3 |
go get github.com/google/fscrypt@v0.3.3 |
| Go | github.com/google/fscrypt |
< 0.3.3 |
0.3.3 |
go get github.com/google/fscrypt@v0.3.3 |
| Go | github.com/google/fscrypt |
< 0.3.3 |
0.3.3 |
go get github.com/google/fscrypt@v0.3.3 |
Per OSV / GitHub Advisories (GHSA-chxf-fjcf-7fwp, GHSA-mpq4-rjj8-fjph, GO-2022-0339). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fscrypt | ≤ 0.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory