CVE-2018-6558
MEDIUM 6.5CVSS 3.0Privilege Escalation in fscrypt
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).
- Published
- 23 Aug 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Modified
- Also known as
- GHSA-qj26-7grj-whg3GO-2020-0027
- Sources
- NVDJSONOSV GHSA-qj26-7grj-whg3JSONOSV GO-2020-0027JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.9 | AV:N/AC:M/Au:S/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fscryptcpe:2.3:a:google:fscrypt:*:*:*:*:*:*:*:* |
< 0.2.4 | 0.2.4 | |
| OSV | Go | github.com/google/fscrypt | < 0.2.4 | 0.2.4 |
References
- https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b · Patch, Third Party Advisory, WEB, FIX
- https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66 · Patch, Third Party Advisory, WEB
- https://github.com/google/fscrypt/issues/77 · Issue Tracking, Third Party Advisory, WEB
- https://launchpad.net/bugs/1787548 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-6558 · ADVISORY
- https://github.com/google/fscrypt · PACKAGE
- https://pkg.go.dev/vuln/GO-2020-0027 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 23 Aug 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Jun 2021)