Advisory

GHSA-w4f8-fxq2-j35v

Also known as: None

Summary

Possible privilege escalation via bash completion script

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-03-01 21:04 UTC
Modified
2022-03-01 21:04 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