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

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-257824RHEL-09-214035SV-257824r1044886_ruleCCI-002617low
Description
Previous versions of software components that are not removed from the information system after updates have been installed may be exploited by some adversaries.
STIGDate
Red Hat Enterprise Linux 9 Security Technical Implementation Guide2025-05-14

Details

Check Text (C-257824r1044886_chk)

Verify RHEL 9 removes all software components after updated versions have been installed with the following command: $ grep -i clean_requirements_on_remove /etc/dnf/dnf.conf clean_requirements_on_remove=True If "clean_requirements_on_remove" is not set to "True", this is a finding.

Fix Text (F-61489r1044885_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