{"schemaVersion":3,"id":"CVE-2018-7169","aliases":["MGASA-2018-0177","SUSE-SU-2018:0662-1","UBUNTU-CVE-2018-7169","DEBIAN-CVE-2018-7169","openSUSE-SU-2024:11378-1"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in shadow 4.5. newgidmap (in shadow-utils) is setuid and allows an unprivileged user to be placed in a user namespace where setgroups(2) is permitted. This allows an attacker to remove themselves from a supplementary group, which may allow access to certain filesystem paths if the administrator has used \"group blacklisting\" (e.g., chmod g-rwx) to restrict access to paths. This flaw effectively reverts a security feature in the kernel (in particular, the /proc/self/setgroups knob) to prevent this sort of privilege escalation.","dates":{"published":"2018-02-15T19:00:00.000Z","modified":"2024-08-05T06:24:10.505Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true}]},"epss":{"probability":0.01566,"percentile":0.74901,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.01566},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01694,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01566,"percentile":0.74901}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01694,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01566,"percentile":0.74901}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_F3F7825E20ECBBA5","name":"Exploit Reference (bugs.launchpad.net)","source":"reference","url":"https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"debian","product":"shadow","name":"shadow","label":"shadow","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/shadow","purlType":"deb","versions":[{"text":"< 1:4.7-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:4.7-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"shadow","name":"shadow","label":"shadow","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/shadow","purlType":"deb","versions":[{"text":"< 1:4.1.5.1-1ubuntu9.5+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:4.2-3.1ubuntu5.5+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:4.5-1ubuntu2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:4.1.5.1-1ubuntu9.5+esm1 | < 1:4.2-3.1ubuntu5.5+esm1 | < 1:4.5-1ubuntu2.2","eol":null,"hubHref":null},{"vendor":"mageia","product":"shadow-utils","name":"shadow-utils","label":"shadow-utils","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/shadow-utils","purlType":"rpm","versions":[{"text":"< 4.2.1-6.2.mga5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.1-6.2.mga5","eol":null,"hubHref":null},{"vendor":"mageia","product":"shadow-utils","name":"shadow-utils","label":"shadow-utils","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/shadow-utils","purlType":"rpm","versions":[{"text":"< 4.4-1.2.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.4-1.2.mga6","eol":null,"hubHref":null},{"vendor":"opensuse","product":"shadow&distro=openSUSE Tumbleweed","name":"shadow","label":"shadow&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/shadow&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 4.9-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.9-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"shadow&distro=SUSE Linux Enterprise Desktop 12 SP2","name":"shadow","label":"shadow&distro=SUSE Linux Enterprise Desktop 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/shadow&distro=SUSE Linux Enterprise Desktop 12 SP2","purlType":"rpm","versions":[{"text":"< 4.2.1-27.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.1-27.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"shadow&distro=SUSE Linux Enterprise Desktop 12 SP3","name":"shadow","label":"shadow&distro=SUSE Linux Enterprise Desktop 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/shadow&distro=SUSE Linux Enterprise Desktop 12 SP3","purlType":"rpm","versions":[{"text":"< 4.2.1-27.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.1-27.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"shadow&distro=SUSE Linux Enterprise Server 12 SP2","name":"shadow","label":"shadow&distro=SUSE Linux Enterprise Server 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/shadow&distro=SUSE Linux Enterprise Server 12 SP2","purlType":"rpm","versions":[{"text":"< 4.2.1-27.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.1-27.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"shadow&distro=SUSE Linux Enterprise Server 12 SP3","name":"shadow","label":"shadow&distro=SUSE Linux Enterprise Server 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/shadow&distro=SUSE Linux Enterprise Server 12 SP3","purlType":"rpm","versions":[{"text":"< 4.2.1-27.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.1-27.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"shadow&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2","name":"shadow","label":"shadow&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/shadow&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2","purlType":"rpm","versions":[{"text":"< 4.2.1-27.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.1-27.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"shadow&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP2","name":"shadow","label":"shadow&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/shadow&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP2","purlType":"rpm","versions":[{"text":"< 4.2.1-27.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.1-27.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"shadow&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","name":"shadow","label":"shadow&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/shadow&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","purlType":"rpm","versions":[{"text":"< 4.2.1-27.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.1-27.6.1","eol":null,"hubHref":null},{"vendor":"shadow_project","product":"shadow","name":"shadow","label":"shadow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.5","eol":null,"hubHref":"/vendor/shadow_project/shadow"}],"affectedCount":13,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357","label":"bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357","hostname":"bugs.launchpad.net","tags":["X Refsource MISC","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201805-09","label":"security.gentoo.org/glsa/201805-09","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0177.html","label":"advisories.mageia.org/MGASA-2018-0177.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22766","label":"bugs.mageia.org/show_bug.cgi?id=22766","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/opensuse-updates/2018-03/msg00036.html","label":"lists.opensuse.org/opensuse-updates/2018-03/msg00036.html","hostname":"lists.opensuse.org","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180662-1/","label":"www.suse.com/support/update/announcement/2018/suse-su-20180662-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1081294","label":"bugzilla.suse.com/1081294","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2018-7169","label":"www.suse.com/security/cve/CVE-2018-7169","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2018-7169","label":"ubuntu.com/security/CVE-2018-7169","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/shadow-maint/shadow/pull/97","label":"github.com/shadow-maint/shadow/pull/97","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5254-1","label":"ubuntu.com/security/notices/USN-5254-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-7169","label":"www.cve.org/CVERecord?id=CVE-2018-7169","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-7169","label":"security-tracker.debian.org/tracker/CVE-2018-7169","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-5254-1"],"duplicates":[],"related":["USN-5254-1"]},"timeline":[{"kind":"published","date":"2018-02-15T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T06:24:10.505Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:12:23.856Z","stale":false,"partial":false}}