1.2.5 Ensure removal of software components after update

Information

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

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/benchmarks/8415

Item Details

Category: RISK ASSESSMENT, SYSTEM AND INFORMATION INTEGRITY

References: 800-53|RA-5, 800-53|SI-2, 800-53|SI-2(2), CSCv7|3.4, CSCv7|3.5

Plugin: Unix

Control ID: 8a5a18e1146028ede24102c602267d43c2148058b6b5ddb281bf93d484d43ad9