CVE-2018-7169

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-7169
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7169.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-7169
Related
Published
2018-02-15T20:29:00Z
Modified
2025-01-14T07:36:59.738915Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / shadow

Package

Name
shadow
Purl
pkg:deb/debian/shadow?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.7-1

Ecosystem specific

{
    "urgency": "low"
}

Debian:12 / shadow

Package

Name
shadow
Purl
pkg:deb/debian/shadow?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.7-1

Ecosystem specific

{
    "urgency": "low"
}

Debian:13 / shadow

Package

Name
shadow
Purl
pkg:deb/debian/shadow?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.7-1

Ecosystem specific

{
    "urgency": "low"
}

Git / github.com/shadow-maint/shadow

Affected ranges

Type
GIT
Repo
https://github.com/shadow-maint/shadow
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

4.*

4.2.1
4.3.0
4.3.1
4.4
4.5