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

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-269453ALMA-09-045120SV-269453r1050336_ruleCCI-002617medium
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
CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide2025-05-22

Details

Check Text (C-269453r1050336_chk)

Verify AlmaLinux OS 9 removes all software components after updated versions have been installed with the following command: $ dnf config-manager --dump | grep clean clean_requirements_on_remove = 1 If "clean_requirements_on_remove" is not set to "1", this is a finding.

Fix Text (F-73385r1049735_fix)

Configure AlmaLinux OS 9 to remove all software components after updated versions have been installed. Run the following command to change the configuration of DNF: $ dnf config-manager --setopt clean_requirements_on_remove=1 --save