RHEL-08-040004 - RHEL 8 must enable mitigations against processor-based vulnerabilities. - grub2-editenv

Information

It is detrimental for operating systems to provide, or install by default, functionality exceeding requirements or mission objectives. These unnecessary capabilities or services are often overlooked and therefore may remain unsecured. They increase the risk to the platform by providing additional attack vectors.

Operating systems are capable of providing a wide variety of functions and services. Some of the functions and services, provided by default, may not be necessary to support essential organizational operations (e.g., key missions, functions).

Examples of non-essential capabilities include, but are not limited to, games, software packages, tools, and demonstration software not related to requirements or providing a wide array of functionality not required for every mission, but which cannot be disabled.

Verify the operating system is configured to disable non-essential capabilities. The most secure way of ensuring a non-essential capability is disabled is to not have the capability installed.

Kernel page-table isolation is a kernel feature that mitigates the Meltdown security vulnerability and hardens the kernel against attempts to bypass kernel address space layout randomization (KASLR).

Solution

Configure RHEL 8 to enable kernel page-table isolation with the following command:

$ sudo grubby --update-kernel=ALL --args='pti=on'

Add or modify the following line in '/etc/default/grub' to ensure the configuration survives kernel updates:

GRUB_CMDLINE_LINUX='pti=on'

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_8_V1R1_STIG.zip

Item Details

References: CAT|III, CCI|CCI-000381, Rule-ID|SV-230491r599732_rule, STIG-ID|RHEL-08-040004, Vuln-ID|V-230491

Plugin: Unix

Control ID: dc8bab4e15f9bed435bbecab85785f2f256c9bd252b6aebc110390b8f668b2a9