1.2.2.4 Ensure the operating system removes all software components after updated versions have been installed

Information

DNF must remove all software components after updated versions have been installed on the operating system.

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 "True" in the "/etc/dnf/dnf.conf" file:

clean_requirements_on_remove=True

See Also

https://workbench.cisecurity.org/benchmarks/19886

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-2c.

Plugin: Unix

Control ID: 10362264aab387c8fed00fe192d5ec2d0c4492557b1bc7548cc4fdae18dfa844