VDB
Sign up
MEDIUM5.0

GHSA-wxjg-p59j-6c92

Command injection in github.com/google/fscrypt

Quick fix

GHSA-wxjg-p59j-6c92 — github.com/google/fscrypt: upgrade to the fixed version with the command below.

go get github.com/google/fscrypt@v0.3.3

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/google/fscrypt
Introduced in: 0Fixed in: 0.3.3
Fixgo get github.com/google/fscrypt@v0.3.3

References