# CVE-2018-6558: GO-2020-0027 - Privilege escalation in github.com/google/fscrypt

Source: https://junglewise.ai/threats/cve-2018-6558-privilege-escalation-in-fscrypt  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-04-14  
License: CC BY 4.0 with a link back

CVE-2018-6558 · Severity: low · CVSS 3 · Published 2021-04-14

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

**How severe is CVE-2018-6558?** Low severity, with a CVSS score of 3, published 14 April 2021.

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

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

**Am I affected by CVE-2018-6558?** 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.2.4 or later

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


## Affected products

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

## Identifiers

- CVE-2018-6558
- GHSA-qj26-7grj-whg3
- GO-2020-0027

## 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)
- [Command injection in github.com/google/fscrypt](https://junglewise.ai/threats/cve-2022-25328-command-injection-in-github-com-google-fscrypt)
