RHEL 9 must have policycoreutils package installed.

STIG ID: RHEL-09-431025  |  SRG: SRG-OS-000480-GPOS-00227 |  Severity: medium |  CCI: CCI-000366,CCI-001084 |  Vulnerability Id: V-258081

Vulnerability Discussion

Without verification of the security functions, security functions may not operate correctly and the failure may go unnoticed. Security function is defined as the hardware, software, and/or firmware of the information system responsible for enforcing the system security policy and supporting the isolation of code and data on which the protection is based. Security functionality includes, but is not limited to, establishing system accounts, configuring access authorizations (i.e., permissions, privileges), setting events to be audited, and setting intrusion detection parameters.

Policycoreutils contains the policy core utilities that are required for basic operation of an SELinux-enabled system. These utilities include load_policy to load SELinux policies, setfile to label filesystems, newrole to switch roles, and run_init to run /etc/init.d scripts in the proper context.

Satisfies: SRG-OS-000480-GPOS-00227, SRG-OS-000134-GPOS-00068

Check

Verify RHEL 9 has the policycoreutils package installed with the following command:

$ sudo dnf list --installed policycoreutils

Example output:

policycoreutils.x86_64 3.3-6.el9_0

If the "policycoreutils" package is not installed, this is a finding.

Fix

The policycoreutils package can be installed with the following command:

$ sudo dnf install policycoreutils