{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-6558","id":"CVE-2018-6558","title":"Privilege Escalation in fscrypt","description":"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).","descriptionLong":"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-23T20:00:00.000Z","updated":"2026-10-20T10:50:29.429755717Z","reserved":"2018-02-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"canonical","metric":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.9,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["The fscrypt Project fscrypt"],"affectedProducts":[{"vendor":"The fscrypt Project","product":"fscrypt","defaultStatus":null,"versions":[{"status":"affected","version":"before 0.2.4"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/google/fscrypt","purl":"pkg:golang/github.com/google/fscrypt","ranges":["<0.2.4"],"fixed":["0.2.4"],"advisory":"GHSA-qj26-7grj-whg3"}],"cwes":[],"aliases":["GHSA-qj26-7grj-whg3","GO-2020-0027"],"references":[{"url":"https://github.com/google/fscrypt/issues/77","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://launchpad.net/bugs/1787548","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6558","tags":["advisory"]},{"url":"https://github.com/google/fscrypt","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0027","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00624,"epssPercentile":0.50643,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-6558","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6558","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-6558","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qj26-7grj-whg3","ok":true,"note":"GHSA-qj26-7grj-whg3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-6558","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}