STIGUI
V-280942CAT II — Medium severitySV-280942r1275258_rule

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

Rule version RHEL-10-200000 · STIG v1 · 2026-09-17

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 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 either "1", "true", or "yes" (keywords containing letters are case insensitive), this is a finding.

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

Note: Any of the following are acceptable: "1", "true", or "yes" (keywords containing letters are case insensitive).

Identifiers

Group ID
V-280942
Group title
SRG-OS-000437-GPOS-00194
Rule ID
SV-280942r1275258_rule
Check ID
C-85503r1275256_chk
Fix ID
F-85408r1275257_fix