CVE-2018-6558 json
Privilege Escalation in fscrypt
published 2018-08-23 8 y ago modified 2026-06-17 4 mo ago also GHSA-qj26-7grj-whg3 , GO-2020-0027 , EUVD-2021-1381
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
The pam_fscrypt module in fscrypt before 0.2.4 may incorrectly restore primary and supplementary group IDs to the values associated with the root user, which allows attackers to gain privileges via a successful login through certain applications that use Linux-PAM (aka pam).
Patch / fix
- go github.com/google/fscrypt 0.2.4
- google fscrypt 0.2.4
- fscrypt Debian 14, Debian 13, Debian 12 0.2.4-1
debian advisories DEBIAN-CVE-2018-6558
- fscrypt Ubuntu 18.04 LTS 0.2.2-0ubuntu2.1
ubuntu advisories UBUNTU-CVE-2018-6558
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/google/fscrypt@3022c16 commit
- github.com/google/fscrypt@315f9b0 commit
- launchpad.net/bugs/1787548 advisory
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.9 | AV:N/AC:M/Au:S/C:N/I:P/A:P |
| GitHub | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/google/fscrypt | <0.2.4 |
0.2.4 |
Affected products
- The fscrypt Project fscrypt
References
-
github.com
/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b
web, patch, third-party-advisory
-
github.com
/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66
web, patch, third-party-advisory
-
launchpad.net
/bugs/1787548
web, issue-tracking, patch, third-party-advisory
-
github.com
/google/fscrypt/issues/77
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-6558
advisory
-
github.com
/google/fscrypt
package
-
pkg.go.dev
/vuln/GO-2020-0027
web
Sources
- CVE List CVE-2018-6558
- GitHub Advisory GHSA-qj26-7grj-whg3
- NVD CVE-2018-6558
- OSV GO-2020-0027
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.