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 |
|---|---|---|---|---|---|---|
| medium | V-256536 | SRG-OS-000437-GPOS-00194 | PHTN-30-000066 | SV-256536r958936_rule | 2024-12-16 | 1 |
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
Expected result:
clean_requirements_on_remove=true
If the output does not match the expected result, this is a finding.
✔️ Fix
Navigate to and open:
/etc/tdnf/tdnf.conf
Remove any existing "clean_requirements_on_remove" line and ensure the following line is present:
clean_requirements_on_remove=true