RHEL 10 must remove all software components after updated versions have been installed.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-280942 | RHEL-10-200000 | SV-280942r1165181_rule | CCI-002617 | medium |
| 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. | ||||
| STIG | Date | |||
| Red Hat Enterprise Linux 10 Security Technical Implementation Guide | 2026-03-11 | |||
Details
Check Text (C-280942r1165181_chk)
Verify RHEL 10 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 "True", this is a finding.
Fix Text (F-85408r1165180_fix)
Configure RHEL 10 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