{"api_version":"1","generated_at":"2026-07-23T08:31:40+00:00","cve":"CVE-2018-6558","urls":{"html":"https://cve.report/CVE-2018-6558","api":"https://cve.report/api/cve/CVE-2018-6558.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-6558","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-6558"},"summary":{"title":"CVE-2018-6558","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).","state":"PUBLIC","assigner":"security@ubuntu.com","published_at":"2018-08-23 19:29:00","updated_at":"2019-10-03 00:03:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://launchpad.net/bugs/1787548","name":"https://launchpad.net/bugs/1787548","refsource":"MISC","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"Bug #1787548 “PAM fscrypt adds root(0) group to all users called...” : Bugs : fscrypt package : Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b","name":"https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Ensure setting user privileges is reversible · google/fscrypt@3022c16 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66","name":"https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Ensure keyring privilege changes are reversible · google/fscrypt@315f9b0 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/google/fscrypt/issues/77","name":"https://github.com/google/fscrypt/issues/77","refsource":"MISC","tags":["Issue Tracking","Third Party Advisory"],"title":"pam_fscrypt messes up user groups during login · Issue #77 · google/fscrypt · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6558","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6558","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"6558","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"google","cpe5":"fscrypt","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6558","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"google","cpe5":"fscrypt","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-6558","qid":"982075","title":"Go (go) Security Update for github.com/google/fscrypt/security (GHSA-qj26-7grj-whg3)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@ubuntu.com","DATE_PUBLIC":"2018-08-23T17:00:00.000Z","ID":"CVE-2018-6558","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"fscrypt","version":{"version_data":[{"version_value":"before 0.2.4"}]}}]},"vendor_name":"The fscrypt Project"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/google/fscrypt/issues/77","refsource":"MISC","url":"https://github.com/google/fscrypt/issues/77"},{"name":"https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b","refsource":"MISC","url":"https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b"},{"name":"https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66","refsource":"MISC","url":"https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66"},{"name":"https://launchpad.net/bugs/1787548","refsource":"MISC","url":"https://launchpad.net/bugs/1787548"}]},"source":{"discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2018-08-23 19:29:00","lastModifiedDate":"2019-10-03 00:03:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:N/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.9},"severity":"MEDIUM","exploitabilityScore":6.8,"impactScore":4.9,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:google:fscrypt:*:*:*:*:*:*:*:*","versionEndExcluding":"0.2.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"6558","Ordinal":"122686","Title":"CVE-2018-6558","CVE":"CVE-2018-6558","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"6558","Ordinal":"1","NoteData":"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).","Type":"Description","Title":null},{"CveYear":"2018","CveId":"6558","Ordinal":"2","NoteData":"2018-08-23","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"6558","Ordinal":"3","NoteData":"2018-08-23","Type":"Other","Title":"Modified"}]}}}