setup: nologin listed in /etc/shells violates security expectations
Published Jul 2, 2018
5.3
MEDIUMCVSS 3.0
EPSS 0.32%
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 n/a Product Setup Defaultn/a
- Version setup 2.11.4-1.fc28StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Setup | n/a |
|
Configuration 1
Running on/with
- n/a
- n/a
Configuration 2
- 7.0
- 7.0
- 7.0
No data.
Red Hat Enterprise Linux 7
setup-0:2.8.71-10.el7
Fixed · RHSA-2018:3249
Red Hat Enterprise Linux 5
setup
Will not fix
Red Hat Enterprise Linux 6
setup
Fix deferred
Red Hat Enterprise Linux 8
setup
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | setup-0:2.8.71-10.el7 | Fixed | RHSA-2018:3249 |
| Red Hat Enterprise Linux 5 | setup | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | setup | Fix deferred | n/a |
| Red Hat Enterprise Linux 8 | setup | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Preventing a user from accessing the system without deleting their account is not a simple matter. For utmost security, the account should be deleted. Short of this, we recommend a three-pronged approach: * change the user's login shell to a harmless command that is not in "/etc/shells" (for example "/bin/false") to prevent commands being run on their behalf * lock the user's password with "usermod -L" to prevent authentication with pam services * prevent access to the user's home directory with "chmod 0" or "chown root" and "chmod 700" to prevent authentication with ssh keys etc
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.32% (0.00315) | 22.13th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.32% (0.00315) | 24.59th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.06% (0.00056) | 23.59th | v3 (v2023.03.01) |
| Jun 13, 2024 | 0.06% (0.00056) | 23.03th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.06% (0.00056) | 21.02th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00047) | 14.26th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00890) | 30.33th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00890) | 12.04th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.83% (0.00833) | 24.58th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (7)
- https://access.redhat.com/errata/RHBA-2019:0327 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2018:3249 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/security/cve/CVE-2018-1113 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1571094 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1113 x_refsource_CONFIRMIssue TrackingVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-1113
- https://www.cve.org/CVERecord?id=CVE-2018-1113
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHBA-2019:0327 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2018:3249 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/security/cve/CVE-2018-1113 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1571094 | Issue Tracking | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1113 | x_refsource_CONFIRMIssue TrackingVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-1113 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-1113 |
Change history (0)
No recorded changes yet.