{"id":"GHSA-qj26-7grj-whg3","summary":"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).","aliases":["CVE-2018-6558","GO-2020-0027"],"modified":"2024-05-20T19:39:08Z","published":"2021-06-23T17:18:49Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-05-20T21:04:58Z","nvd_published_at":null,"cwe_ids":[],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6558"},{"type":"WEB","url":"https://github.com/google/fscrypt/issues/77"},{"type":"WEB","url":"https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b"},{"type":"WEB","url":"https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66"},{"type":"PACKAGE","url":"https://github.com/google/fscrypt"},{"type":"WEB","url":"https://launchpad.net/bugs/1787548"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2020-0027"}],"affected":[{"package":{"name":"github.com/google/fscrypt","ecosystem":"Go","purl":"pkg:golang/github.com/google/fscrypt"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-qj26-7grj-whg3/GHSA-qj26-7grj-whg3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}