CVE-2018-6558
MEDIUM6.5EPSS 0.14%Privilege escalation in github.com/google/fscrypt
Published: 6/23/2021Modified: 4/28/2026
Also known as:DEBIAN-CVE-2018-6558
Description
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).
Affected packages (3)
- Debian/fscryptfrom 0, < 0.2.4-1
- Go/github.com/google/fscryptfrom 0, < 0.2.4
- Go/github.com/google/fscryptfrom 0, < 0.2.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-6558
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-6558
- PATCHhttps://github.com/google/fscrypt
- WEBhttps://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b
- WEBhttps://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66
- WEBhttps://github.com/google/fscrypt/issues/77
- WEBhttps://launchpad.net/bugs/1787548
- WEBhttps://pkg.go.dev/vuln/GO-2020-0027