What’s Vulnerable › Vulnerabilities
CVE-2018-1113
- Severity: medium (CVSS 5.3 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-07-03 · updated 2026-06-17
- Weakness: CWE-285
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
- RedHat Enterprise Linux Desktop: 7.0
- RedHat Enterprise Linux Server: 7.0
- RedHat Enterprise Linux Workstation: 7.0
- RedHat Setup: before 2.11.4 — fixed in 2.11.4
How to fix
Upgrade to a fixed version: RedHat Setup 2.11.4. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHBA-2019:0327
- https://access.redhat.com/errata/RHSA-2018:3249
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1113
- https://access.redhat.com/errata/RHBA-2019:0327
- https://access.redhat.com/errata/RHSA-2018:3249
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1113
Get alerted when CVE-2018-1113 or the next vulnerability affects your stack