STIGUI
V-258849CAT II — Medium severitySV-258849r958936_rule

The Photon operating system must remove all software components after updated versions have been installed.

Rule version PHTN-40-000161 · STIG v2 · 2026-08-26

Discussion

Previous versions of software components that are not removed from the information system after updates have been installed may be exploited by adversaries. Some information technology products may remove older versions of software automatically from the information system.

Check

At the command line, run the following command:

# grep -i '^clean_requirements_on_remove' /etc/tdnf/tdnf.conf

Example result:

clean_requirements_on_remove=1

If "clean_requirements_on_remove" is not set to "true", "1", or "yes", this is a finding.

Fix

Navigate to and open:

/etc/tdnf/tdnf.conf

Add or update the following line:

clean_requirements_on_remove=1

Identifiers

Group ID
V-258849
Group title
SRG-OS-000437-GPOS-00194
Rule ID
SV-258849r958936_rule
Check ID
C-62589r933606_chk
Fix ID
F-62498r933607_fix