# CVE-2022-25328: Command injection in github.com/google/fscrypt

Source: https://junglewise.ai/threats/cve-2022-25328-command-injection-in-github-com-google-fscrypt  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-02-26  
License: CC BY 4.0 with a link back

CVE-2022-25328 · Severity: low · CVSS 3.1 · Published 2022-02-26

Command injection in github.com/google/fscrypt

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 CVE-2022-25328 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-25328 being exploited in the wild.

**How severe is CVE-2022-25328?** Low severity, with a CVSS score of 3.1, published 26 February 2022.

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

**Is there a fix for CVE-2022-25328?** 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 by CVE-2022-25328?** 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

## Identifiers

- CVE-2022-25328
- GHSA-wxjg-p59j-6c92

## 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)
- [Possible privilege escalation via bash completion script](https://junglewise.ai/threats/possible-privilege-escalation-via-bash-completion-script-d094fb3a)
- [GO-2020-0027 - Privilege escalation in github.com/google/fscrypt](https://junglewise.ai/threats/cve-2018-6558-privilege-escalation-in-fscrypt)
