Improper Authorization Affecting setup package, versions <0:2.8.71-10.el7


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.32% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-SETUP-4838061
  • published26 Jul 2021
  • disclosed24 Apr 2018

Introduced: 24 Apr 2018

CVE-2018-1113  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade RHEL:7 setup to version 0:2.8.71-10.el7 or higher.
This issue was patched in RHSA-2018:3249.

NVD Description

Note: Versions mentioned in the description apply only to the upstream setup package and not the setup package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.