{"id":"CVE-2022-25328","summary":"Privilege escalation through command injection in fscrypt","details":"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","aliases":["GHSA-wxjg-p59j-6c92"],"modified":"2026-08-12T03:51:48.649246690Z","published":"2022-02-25T11:00:15.758Z","related":["openSUSE-SU-2024:11902-1"],"database_specific":{"cna_assigner":"Google","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25328.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25328.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25328"},{"type":"FIX","url":"https://github.com/google/fscrypt/pull/346"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/google/fscrypt","events":[{"introduced":"0"},{"fixed":"f28f2be05de938b1c2da7a88569bf6611250a9e2"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.3.2"},{"fixed":"0.3.3"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:google:fscrypt:*:*:*:*:*:*:*:*"}}],"versions":["v0.3.2","v0.3.1","v0.3.0","v0.2.9","v0.2.8","v0.2.7","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","0.2.2","v0.2.1","0.2.1","v0.2.0","0.2.0","v0.1.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25328.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H"}]}