{"id":"CVE-2018-6558","aliases":["GHSA-qj26-7grj-whg3","GO-2020-0027"],"url":"https://o3.security/vulnerability/CVE-2018-6558","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).","published":"2018-08-23T19:29:01.127Z","modified":"2026-07-08T19:01:35.132533Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/google/fscrypt","fixedVersion":"0.2.4"}],"fix":{"url":"https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b","label":"google/fscrypt@3022c16"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T19:01:35.132533Z"}}