GitHub Advisory Database
GHSA-qj26-7grj-whg3
Privilege Escalation in fscrypt
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/google/fscrypt | All versions before 0.2.4 (fixed in 0.2.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-6558
- https://github.com/google/fscrypt/issues/77
- https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b
- https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66
- https://github.com/google/fscrypt
- https://launchpad.net/bugs/1787548
- https://pkg.go.dev/vuln/GO-2020-0027