Description
setup before version 2.11.4-1.fc28 in Fedora and Red Hat Enterprise Linux added /sbin/nologin and /usr/sbin/nologin to /etc/shells. This violates security assumptions made by pam_shells and some daemons which allow access based on a user's shell being listed in /etc/shells. Under some circumstances, users which had their shell changed to /sbin/nologin could still access the system.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| [UNKNOWN] | setup | setup 2.11.4-1.fc28 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | setup | 2.8.71-10.el7 | RHSA-2018:3249 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | setup | 2.8.71-10.amzn2 | ALAS2-2019-1158 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | setup | 2.8.71-10.el7 | ELSA-2018-3249 |
Advisories 3
- RHSA-2018:3249 Red Hat Security Advisory: setup security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- ALAS2-2019-1158 Low: setup security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 14, 2019
- ELSA-2018-3249 Low: setup security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 5, 2018
References
- RHSA-2018:3249 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1113
- RHBA-2019:0327 vendor-advisory