Skip to content

Possible privilege escalation via bash completion script

Moderate severity GitHub Reviewed Published Feb 26, 2022 in google/fscrypt • Updated Jan 11, 2023

Package

gomod github.com/google/fscrypt (Go)

Affected versions

< 0.3.3

Patched versions

0.3.3

Description

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

@ebiggers ebiggers published to google/fscrypt Feb 26, 2022
Published to the GitHub Advisory Database Mar 1, 2022
Reviewed Mar 1, 2022
Last updated Jan 11, 2023

Severity

Moderate

Weaknesses

No CWEs

CVE ID

No known CVE

GHSA ID

GHSA-w4f8-fxq2-j35v

Source code

github.com/google/fscrypt

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.