CVE-2018-1113
published medium CVSS 3.0 · 4.8setup: nologin listed in /etc/shells violates security expectations
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | — | setupsetup 2.11.4-1.fc28 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2019-1158 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 7 | setupaarch64 | Advisory build | 0:2.8.71-10.el7 | ELSA-2018-3249 |
| Red Hat Enterprise Linux | RHEL-7 | setupnoarch | Advisory build | 2.8.71-10.el7 | RHSA-2018:3249 |
| Amazon Linux | AL2 | setupnoarch | Listed in advisory | Not stated | ALAS2-2019-1158 |
| Oracle Linux | 7 | setupx86_64 | Advisory build | 0:2.8.71-10.el7 | ELSA-2018-3249 |
| Red Hat Enterprise Linux | RHEL-7 | setupsrc | Advisory build | 2.8.71-10.el7 | RHSA-2018:3249 |
| Amazon Linux | AL2 | setupsrc | Listed in advisory | Not stated | ALAS2-2019-1158 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| [UNKNOWN] | setup | setup 2.11.4-1.fc28 (affected) | redhat · cna |
Weaknesses
1- CWE-285
References
3- RHBA-2019:0327 https://access.redhat.com/errata/RHBA-2019:0327
- RHSA-2018:3249 https://access.redhat.com/errata/RHSA-2018:3249
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1113
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0103fab8e1c4abe401687c2824cab778c315bded8107f7fae76aa18b7afdf539
- Ingested
- 23 Sep 2026, 07:44:16 UTC
- Source record
- Official CVE record