{"id":"CVE-2022-25328","published":"2022-02-25T11:00:15Z","modified":"2025-04-21T13:56:13Z","title":"Privilege escalation through command injection in fscrypt","vendor":"Google","product":"fscrypt","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00202,"percentile":0.10421,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/google/fscrypt/pull/346","tags":["x_refsource_MISC"]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":2.08},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"fscrypt","versions":[">= unspecified, <= 0.3.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-21T13:36:13.938909Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/google/fscrypt","vulnerableRanges":["<0.3.3"],"patched":["0.3.3"],"from":["GHSA-wxjg-p59j-6c92"],"provenance":"source"}],"summary":{"text":"The fscrypt bash_completion script, which fscrypt ships for Google's fscrypt product, fails to neutralise special characters in mountpoint paths, so crafted mountpoint names can inject OS commands into the script's execution. An attacker with local access who controls mountpoint path names can escalate privileges, but only if a system administrator then uses the fscrypt bash completion script to complete those mountpoint paths.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:31Z"},"euvd":{"id":"EUVD-2022-1242","exploited":false,"provenance":"source"}}