{"id":"GHSA-w4f8-fxq2-j35v","aliases":[],"status":"published","title":"Possible privilege escalation via bash completion script","description":"The bash completion script for `fscrypt` through v0.3.2 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 v0.3.3 or above.\n\nFor more details, see [CVE-2022-25328](https://www.cve.org/CVERecord?id=CVE-2022-25328).","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2022-03-01T21:04:57Z","modified":"2023-01-11T05:05:23Z","fixes":[{"ecosystem":"Go","package":"github.com/google/fscrypt","fixed_in":["0.3.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/google/fscrypt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/google/fscrypt","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.3"}]}]}],"references":[{"url":"https://github.com/google/fscrypt/security/advisories/GHSA-w4f8-fxq2-j35v","tags":["web"]},{"url":"https://github.com/advisories/GHSA-w4f8-fxq2-j35v"},{"url":"github.com/google/fscrypt","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-w4f8-fxq2-j35v","title":"Possible privilege escalation via bash completion script","description":"The bash completion script for `fscrypt` through v0.3.2 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 v0.3.3 or above.\n\nFor more details, see [CVE-2022-25328](https://www.cve.org/CVERecord?id=CVE-2022-25328).","status":"published","published":"2022-03-01T21:04:57Z","modified":"2023-01-11T05:05:23Z","updated_at":"2026-11-02T14:36:12.361159Z"}],"osv":[{"id":"GHSA-w4f8-fxq2-j35v","title":"Possible privilege escalation via bash completion script","description":"The bash completion script for `fscrypt` through v0.3.2 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 v0.3.3 or above.\n\nFor more details, see [CVE-2022-25328](https://www.cve.org/CVERecord?id=CVE-2022-25328).","status":"published","published":"2022-03-01T21:04:57Z","modified":"2022-03-01T21:04:57Z","updated_at":"2026-11-02T15:46:58.04805Z"}]}}
