{"api_version":"1","generated_at":"2026-07-23T10:19:14+00:00","cve":"CVE-2017-5551","urls":{"html":"https://cve.report/CVE-2017-5551","api":"https://cve.report/api/cve/CVE-2017-5551.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-5551","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-5551"},"summary":{"title":"CVE-2017-5551","description":"The simple_set_acl function in fs/posix_acl.c in the Linux kernel before 4.9.6 preserves the setgid bit during a setxattr call involving a tmpfs filesystem, which allows local users to gain group privileges by leveraging the existence of a setgid program with restrictions on execute permissions.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-7097.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-02-06 06:59:00","updated_at":"2019-10-03 00:03:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://github.com/torvalds/linux/commit/497de07d89c1410d76a15bec2bb41f24a2a89f31","name":"https://github.com/torvalds/linux/commit/497de07d89c1410d76a15bec2bb41f24a2a89f31","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"tmpfs: clear S_ISGID when setting posix ACLs · torvalds/linux@497de07 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6","name":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6","refsource":"CONFIRM","tags":["Release Notes","Vendor Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=497de07d89c1410d76a15bec2bb41f24a2a89f31","name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=497de07d89c1410d76a15bec2bb41f24a2a89f31","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securitytracker.com/id/1038053","name":"1038053","refsource":"SECTRACK","tags":[],"title":"Linux Kernel 'tmpfs' File System Permission Flaw Lets Local Users Gain Elevated Privileges - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2017/01/21/3","name":"[oss-security] 20170120 Re: CVE REQUEST: linux kernel: process with pgid zero able to crash kernel","refsource":"MLIST","tags":["Mailing List","Patch","Third Party Advisory"],"title":"oss-security - Re: CVE REQUEST: linux kernel: process with pgid zero able to crash kernel","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1416126","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1416126","refsource":"CONFIRM","tags":["Issue Tracking","Patch"],"title":"Bug 1416126 – CVE-2017-5551 kernel: S_ISGD is not cleared when setting posix ACLs in tmpfs (CVE-2016-7097 incomplete fix)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2017/dsa-3791","name":"DSA-3791","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-3791-1 linux","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/95717","name":"95717","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Linux Kernel CVE-2017-5551 Local Denial of Service Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5551","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5551","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"5551","vulnerable":"1","versionEndIncluding":"4.9.5","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-5551","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The simple_set_acl function in fs/posix_acl.c in the Linux kernel before 4.9.6 preserves the setgid bit during a setxattr call involving a tmpfs filesystem, which allows local users to gain group privileges by leveraging the existence of a setgid program with restrictions on execute permissions.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-7097."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=497de07d89c1410d76a15bec2bb41f24a2a89f31","refsource":"CONFIRM","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=497de07d89c1410d76a15bec2bb41f24a2a89f31"},{"name":"[oss-security] 20170120 Re: CVE REQUEST: linux kernel: process with pgid zero able to crash kernel","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2017/01/21/3"},{"name":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6","refsource":"CONFIRM","url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6"},{"name":"95717","refsource":"BID","url":"http://www.securityfocus.com/bid/95717"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1416126","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1416126"},{"name":"https://github.com/torvalds/linux/commit/497de07d89c1410d76a15bec2bb41f24a2a89f31","refsource":"CONFIRM","url":"https://github.com/torvalds/linux/commit/497de07d89c1410d76a15bec2bb41f24a2a89f31"},{"name":"DSA-3791","refsource":"DEBIAN","url":"http://www.debian.org/security/2017/dsa-3791"},{"name":"1038053","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1038053"}]}},"nvd":{"publishedDate":"2017-02-06 06:59:00","lastModifiedDate":"2019-10-03 00:03:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":2.5},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:N","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":3.6},"severity":"LOW","exploitabilityScore":3.9,"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:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndIncluding":"4.9.5","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"5551","Ordinal":"102092","Title":"CVE-2017-5551","CVE":"CVE-2017-5551","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"5551","Ordinal":"1","NoteData":"The simple_set_acl function in fs/posix_acl.c in the Linux kernel before 4.9.6 preserves the setgid bit during a setxattr call involving a tmpfs filesystem, which allows local users to gain group privileges by leveraging the existence of a setgid program with restrictions on execute permissions.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-7097.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"5551","Ordinal":"2","NoteData":"2017-02-06","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"5551","Ordinal":"3","NoteData":"2017-11-03","Type":"Other","Title":"Modified"}]}}}