Rule ID
SV-279633r1192521_rule
Version
V1R1
CCIs
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.
Verify Nutanix OS removes all software components after updated versions have been installed using the following command. $ sudo grep -i clean_requirements_on_remove /etc/yum.conf clean_requirements_on_remove=1 If "clean_requirements_on_remove" is not set to "1", "True", or "yes", or is not set in "/etc/yum.conf", this is a finding.
Configure Yum settings to remove all software components after an updated version is installed. 1. Configure AOS Yum settings using the following command. $ sudo salt-call state.sls security/CVM/yumCVM 2. Configure Prism Central Yum settings using the following command. $ sudo salt-call state.sls security/PCVM/yumPCVM 3. Configure Files Yum settings using the following command. $ sudo salt-call state.sls security/AFS/yumAFS 4. Configure AHV Yum settings using the following command. $ sudo salt-call state.sls security/KVM/yumKVM