{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-6558","published":"2018-08-23T19:29:01.127000Z","last_modified":"2026-06-17T02:02:01.473000Z","status":"Modified","cvss":{"version":"3.0","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","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:google:fscrypt:*:*:*:*:*:*:*:*","part":"a","vendor":"google","product":"fscrypt","version_end_excluding":"0.2.4"}],"cpes_truncated":false,"vendors":["google"],"products":["google/fscrypt"],"epss":{"score":0.00624,"percentile":0.44297,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-qj26-7grj-whg3","ecosystem":"Go","name":"github.com/google/fscrypt","purl":"pkg:golang/github.com/google/fscrypt","ranges":[{"introduced":"0","fixed":"0.2.4"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2020-0027","ecosystem":"Go","name":"github.com/google/fscrypt","purl":"pkg:golang/github.com/google/fscrypt","ranges":[{"introduced":"0","fixed":"0.2.4"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2018-6558/","html_en":"/en/cve/CVE-2018-6558/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-6558","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-6558"},"untrusted":{"vendor_name":"Google","product_name":"Fscrypt","desc_en":"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":[{"untrusted_vendor":"The fscrypt Project","untrusted_product":"fscrypt","versions":[]}],"references":[{"url":"https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/google/fscrypt/issues/77","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://launchpad.net/bugs/1787548","tags":["Issue Tracking","Patch","Third Party Advisory"]}]}}