STIGUI
V-269453CAT II — Medium severitySV-269453r1050336_rule

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

Rule version ALMA-09-045120 · STIG v1 · 2026-08-25

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.

Check

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

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

Identifiers

Group ID
V-269453
Group title
SRG-OS-000437-GPOS-00194
Rule ID
SV-269453r1050336_rule
Check ID
C-73484r1049734_chk
Fix ID
F-73385r1049735_fix