Advisory

GHSA-wxjg-p59j-6c92

Also known as: CVE-2022-25328

Summary

Command injection in github.com/google/fscrypt

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-02-26 00:00 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

github.com/google/fscrypt

Go · All systems

Affected

  • introduced 0, fixed 0.3.3 (semver)

Fixed versions

0.3.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences