Skip to content
OpenAdvisories
Medium · 4.8 CVE-2018-1113 EUVD-2018-11758GHSA-pj9f-pvw9-ffjc

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 vi…

Published Jul 2, 2018 · Updated Aug 5, 2024 · Assigned by redhat

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

VendorProductAffectedFixed
[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.

ReleasePackageFixed inAdvisory
RHEL 7 setup 2.8.71-10.el7 RHSA-2018:3249

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 setup 2.8.71-10.amzn2 ALAS2-2019-1158

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 setup 2.8.71-10.el7 ELSA-2018-3249

Advisories 3

References