CVE-2022-25328 json
Privilege escalation through command injection in fscrypt
published 2022-02-25 4 y ago modified 2026-06-17 4 mo ago also GHSA-wxjg-p59j-6c92 , EUVD-2022-1242
- cvss
- 5.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- go github.com/google/fscrypt 0.3.3
- google fscrypt 0.3.3
- fscrypt Debian 14, Debian 13, Debian 12 0.3.3-1
debian advisories DEBIAN-CVE-2022-25328
- fscrypt openSUSE Tumbleweed 0.3.3-1.1
opensuse advisories openSUSE-SU-2024:11902-1
- github.com/google/fscrypt#346 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/google/fscrypt | <0.3.3 |
0.3.3 |
Affected products
- Google LLC fscrypt
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/google/fscrypt/pull/346
web, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25328
advisory
-
github.com
/google/fscrypt
web
Sources
- CVE List CVE-2022-25328
- GitHub Advisory GHSA-wxjg-p59j-6c92
- NVD CVE-2022-25328
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.