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

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-258849SRG-OS-000437-GPOS-00194PHTN-40-000161SV-258849r958936_rule2024-07-112
Description
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