BaselineWatch
Desk

RHEL-09-214035 RHEL 9 must remove all software components after updated versions have been installed.

DISA STIG library V2R10
All changes in this version
first version loaded CAT III

Maps to SI-2(6) via CCI-002617

Title

RHEL 9 must remove all software components after updated versions have been installed.

Control

Verify RHEL 9 removes all software components after updated versions have been installed with the following command: $ sudo grep -i clean_requirements_on_remove /etc/dnf/dnf.conf clean_requirements_on_remove=True If "clean_requirements_on_remove" is not set to either "1", "true", or "yes" (keywords containing letters are case insensitive), this is a finding.

Discussion

Previous versions of software components that are not removed from the information system after updates have been installed may be exploited by some adversaries.

Related controls

CCI-002617

Fix

Configure RHEL 9 to remove all software components after updated versions have been installed. Edit the file "/etc/dnf/dnf.conf" by adding or editing the following line: clean_requirements_on_remove=True Note: Any of the following are acceptable: "1", "true", or "yes" (keywords containing letters are case insensitive).