RCE in Google Fscrypt

CVE-2022-25328

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

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.002 (10.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-25328?
CVE-2022-25328 is a medium-severity vulnerability in Google Fscrypt, classified under OS Command Injection. CVSS score: 5.0/10. Published 2022-02-25.
How severe is CVE-2022-25328?
Medium severity. CVSS v3 base score is 5.0 out of 10.
Is CVE-2022-25328 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.