Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/google/fscrypt
  4. ›
  5. GMS-2022-180

GMS-2022-180: Possible privilege escalation via bash completion script

March 1, 2022 (updated January 11, 2023)

The bash completion script for fscrypt through v0.3.2 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 v0.3.3 or above.

For more details, see CVE-2022-25328.

References

  • github.com/advisories/GHSA-w4f8-fxq2-j35v
  • github.com/google/fscrypt/security/advisories/GHSA-w4f8-fxq2-j35v

Code Behaviors & Features

Detect and mitigate GMS-2022-180 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.3

Fixed versions

  • v0.3.3

Solution

Upgrade to version 0.3.3 or above.

Source file

go/github.com/google/fscrypt/GMS-2022-180.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:35 +0000.