{"id":"GHSA-w4f8-fxq2-j35v","aliases":["GHSA-w4f8-fxq2-j35v"],"related":[],"kind":"vulnerability","state":"published","title":"Possible privilege escalation via bash completion script","summary":"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).","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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).","format":"markdown","source":"ghsa"}],"published":"2022-03-01T21:04:57.000Z","modified":"2022-03-01T21:04:57.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.3"}],"ecosystem":"Go","package":"github.com/google/fscrypt","purl":"pkg:golang/github.com/google/fscrypt","source":"ghsa"}],"references":[{"url":"https://github.com/google/fscrypt/security/advisories/GHSA-w4f8-fxq2-j35v","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w4f8-fxq2-j35v","url":"https://github.com/advisories/GHSA-w4f8-fxq2-j35v","licence":"CC-BY-4.0","modified":"2022-03-01T21:04:57.000Z"}],"updatedAt":"2026-11-25T22:56:22.577Z"}