{"id":"CVE-2018-6558","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":["GHSA-qj26-7grj-whg3","GO-2020-0027"],"modified":"2026-07-08T19:01:35.132533Z","published":"2018-08-23T19:29:01.127Z","references":[{"type":"REPORT","url":"https://github.com/google/fscrypt/issues/77"},{"type":"FIX","url":"https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b"},{"type":"FIX","url":"https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66"},{"type":"FIX","url":"https://launchpad.net/bugs/1787548"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/google/fscrypt","events":[{"introduced":"0"},{"fixed":"1e1b67dae6c3ae3b5acb5ce377b01b286c3e676b"},{"fixed":"3022c1603d968c22f147b4a2c49c4637dd1be91b"},{"fixed":"315f9b042237200174a1fb99427f74027e191d66"}],"database_specific":{"cpe":"cpe:2.3:a:google:fscrypt:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.2.4"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v0.2.3","v0.2.2","0.2.2","v0.2.1","0.2.1","v0.2.0","0.2.0","v0.1.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6558.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}