CVE-2022-25328
Privilege escalation through command injection in fscrypt
Reported by google · Published February 25, 2022
github.com/google/fscrypt is fixed in 0.3.3 (Go Modules)
The bash_completion script for fscrypt allows injection of commands via crafted mountpoint paths, allowing privilege escalation under a specific set of circumstances. A local user who has control over mountpoint paths could potentially escalate their privileges if they create a malicious mountpoint path and if the system administrator happens to be using the fscrypt bash completion script to complete mountpoint paths. We recommend upgrading to version 0.3.3 or above
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/google/fscrypt | Go Modules | 0.3.3 |
| fscrypt | Google LLC | 0.3.2 |
| fscrypt | 0.3.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Google LLC | fscrypt | unspecified |
| github.com | google/fscrypt | 0 |
| Google LLC | fscrypt | * |
Timeline
- Feb 25, 2022 CVE Published
- Feb 25, 2022 PoC Published (2 in total, the first dated here)
- Feb 26, 2022 EPSS Score (30 in total, the first dated here)
- Apr 30, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Jul 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-25328
vulnetix vdb fixes CVE-2022-25328
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-25328/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2022-25328 advisory
- https://github.com/advisories/GHSA-wxjg-p59j-6c92 advisory