VDB

CVE-2022-25328

CVE-2022-25328 PUBLISHED CVSS 5 MEDIUM

Privilege escalation through command injection in fscrypt

Reported by google · Published February 25, 2022

github.com/google/fscrypt is fixed in 0.3.3 (Go Modules)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/google/fscryptGo Modules0.3.3
fscryptGoogle LLC0.3.2
fscryptgoogle0.3.3

Risk scores

CVSS 3.1
5
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Google LLCfscryptunspecified
github.comgoogle/fscrypt0
Google LLCfscrypt*

Timeline

  • Feb 25, 2022 CVE Published
  • Feb 25, 2022 PoC Published (2 in total, the first dated here)
  • Feb 26, 2022 EPSS Score (30 in total, the first dated here)
  • Apr 30, 2026 Security Advisory
  • Jun 17, 2026 CVE Updated
  • Jul 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-25328
vulnetix vdb fixes CVE-2022-25328

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-25328/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›