{"id":"CVE-2022-25328","aliases":["DEBIAN-CVE-2022-25328","EUVD-2022-1242","GHSA-wxjg-p59j-6c92","UBUNTU-CVE-2022-25328","openSUSE-SU-2024:11902-1"],"status":"published","title":"Privilege escalation through command injection in fscrypt","description":"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","severity":{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00202,"percentile":0.1027,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2022-02-25T11:00:15Z","modified":"2026-11-03T08:02:46Z","fixes":[{"ecosystem":"Go","package":"github.com/google/fscrypt","fixed_in":["0.3.3"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"fscrypt","fixed_in":["0.3.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"fscrypt","fixed_in":["0.3.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"fscrypt","fixed_in":["0.3.3-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/google/fscrypt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"fscrypt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"fscrypt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"fscrypt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.3-1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/google/fscrypt","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.3"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"fscrypt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.3-1.1"}]}],"bundled":3}],"products":[{"vendor":"google","product":"fscrypt"},{"vendor":"google llc","product":"fscrypt"}],"references":[{"url":"https://github.com/google/fscrypt/pull/346","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25328","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wxjg-p59j-6c92"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25328.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-25328","tags":["advisory"]},{"url":"https://github.com/google/fscrypt","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2022-25328","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2022/02/24/1","tags":["report"]},{"url":"https://github.com/google/fscrypt/commit/fa1a1fdbdea65829ce24a6b6f86ce2961e465b02","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-25328","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2022-25326","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-25327","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-25328","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-25328","title":"Privilege escalation through command injection in fscrypt","description":"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","status":"published","published":"2022-02-25T11:00:15.758Z","modified":"2025-04-21T13:56:13.459Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:34:28.374916Z"}],"euvd":[{"id":"EUVD-2022-1242","description":"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","status":"published","published":"2022-02-25T11:00:15Z","modified":"2025-04-21T13:56:13Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T20:52:18.663123Z"}],"ghsa":[{"id":"GHSA-wxjg-p59j-6c92","title":"Command injection in github.com/google/fscrypt","description":"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","status":"published","published":"2022-02-26T00:00:44Z","modified":"2023-02-03T05:06:39Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:36:44.093794Z"}],"nvd":[{"id":"CVE-2022-25328","description":"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","status":"published","published":"2022-02-25T11:15:08.12Z","modified":"2026-06-17T04:33:24.297Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:07:12.711288Z"}],"osv":[{"id":"CVE-2022-25328","title":"Privilege escalation through command injection in fscrypt","description":"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","status":"published","published":"2022-02-25T11:00:15.758Z","modified":"2026-10-28T02:30:51.913712508Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"DEBIAN-CVE-2022-25328","description":"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","status":"published","published":"2022-02-25T11:15:08.12Z","modified":"2026-11-03T08:02:46.606159218Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T08:24:39.643572Z"},{"id":"GHSA-wxjg-p59j-6c92","title":"Command injection in github.com/google/fscrypt","description":"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","status":"published","published":"2022-02-26T00:00:44Z","modified":"2023-11-08T04:08:46.172309Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:59.131095Z"},{"id":"UBUNTU-CVE-2022-25328","description":"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","status":"withdrawn","published":"2022-02-25T11:15:00Z","modified":"2025-07-16T07:44:19.462727Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:53:53.13624Z"},{"id":"openSUSE-SU-2024:11902-1","title":"fscrypt-0.3.3-1.1 on GA media","description":"These are all security issues fixed in the fscrypt-0.3.3-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:04:30.05816Z","updated_at":"2026-11-02T16:58:35.485255Z"}]}}
