# Possible privilege escalation via bash completion script

Source: https://junglewise.ai/threats/possible-privilege-escalation-via-bash-completion-script-d094fb3a  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-03-01  
License: CC BY 4.0 with a link back

Severity: info · Published 2022-03-01

Possible privilege escalation via bash completion script

Technologies: [github.com/google/fscrypt (Go)](https://junglewise.ai/threats/technologies/github-com-google-fscrypt). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 1 March 2022.

**Which products and versions are affected?** github.com/google/fscrypt (Go) SEMVER:introduced=0,fixed=0.3.3.

**Is there a fix for This vulnerability?** Yes. github.com/google/fscrypt (Go): upgrade to 0.3.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/google/fscrypt (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/google/fscrypt (Go): upgrade to 0.3.3 or later

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


## Affected products

- github.com/google/fscrypt (Go) SEMVER:introduced=0,fixed=0.3.3

## Related threats

- [GO-2022-0339 - Possible filesystem space exhaustion by local users in github.com/google/fscrypt](https://junglewise.ai/threats/cve-2022-25326-possible-filesystem-space-exhaustion-by-local-users)
- [GO-2022-0340 - User login denial of service in github.com/google/fscrypt](https://junglewise.ai/threats/cve-2022-25327-user-login-denial-of-service-in-github-com-google-fscrypt)
- [Command injection in github.com/google/fscrypt](https://junglewise.ai/threats/cve-2022-25328-command-injection-in-github-com-google-fscrypt)
- [GO-2020-0027 - Privilege escalation in github.com/google/fscrypt](https://junglewise.ai/threats/cve-2018-6558-privilege-escalation-in-fscrypt)
