{"id":"CVE-2022-25328","state":"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","publishedAt":"2022-02-25T11:00:15.758Z","updatedAt":"2025-04-21T13:56:13.459Z","severity":{"score":5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","source":"Google"},"assigner":"Google","products":["Google LLC fscrypt"],"affected":[{"vendor":"Google LLC","product":"fscrypt","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"0.3.2","versionType":"custom"}]}],"references":["https://github.com/google/fscrypt/pull/346"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T19:49:46.971Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/25xxx/CVE-2022-25328.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-25328","state":"PUBLISHED","datePublished":"2022-02-25T11:00:15.758Z","dateUpdated":"2025-04-21T13:56:13.459Z","assignerShortName":"Google","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateReserved":"2022-02-18T00:00:00.000Z"},"containers":{"cna":{"title":"Privilege escalation through command injection in fscrypt","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"Google LLC","product":"fscrypt","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"0.3.2","versionType":"custom"}]}],"references":[{"url":"https://github.com/google/fscrypt/pull/346","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78 OS Command Injection","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Google","dateUpdated":"2022-02-25T11:00:15.000Z","orgId":"14ed7db2-1595-443d-9d34-6215bf890778"},"credits":[{"lang":"en","value":"Matthias Gerstner of SUSE"}],"datePublic":"2022-02-16T00:00:00.000Z","source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@google.com","DATE_PUBLIC":"2022-02-16T11:00:00.000Z","ID":"CVE-2022-25328","STATE":"PUBLIC","TITLE":"Privilege escalation through command injection in fscrypt"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"fscrypt","version":{"version_data":[{"version_affected":"<=","version_value":"0.3.2"}]}}]},"vendor_name":"Google LLC"}]}},"credit":[{"lang":"eng","value":"Matthias Gerstner of SUSE"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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"}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-78 OS Command Injection"}]}]},"references":{"reference_data":[{"name":"https://github.com/google/fscrypt/pull/346","refsource":"MISC","url":"https://github.com/google/fscrypt/pull/346"}]},"source":{"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/google/fscrypt/pull/346","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:36:06.919Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-21T13:36:13.938909Z","id":"CVE-2022-25328","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-21T13:56:13.459Z"}}]}}}