1.2.7 Ensure removal of software components after update

Information

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

Rationale:

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.

Solution

Configure the operating system to remove all software components after updated versions have been installed.
Set the clean_requirements_on_remove option to 1 in the /etc/yum.conf file:
Example: vim /etc/yum.conf
Add, uncomment or update the following line:

clean_requirements_on_remove=1

See Also

https://workbench.cisecurity.org/files/3636

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-2(6), CCI|CCI-002617, CSCv7|3.4, CSCv7|3.5, Rule-ID|SV-204452r603261_rule, STIG-ID|RHEL-07-020200

Plugin: Unix

Control ID: 28baae7142632a547b9bb3304d07280262d7b74d97b39d7562449e77507e8370