1.14 RHEL-10-200000

Information

RHEL 10 must remove all software components after updated versions have been installed.

GROUP ID: V-280942RULE ID: SV-280942r1165181

Previous versions of software components that are not removed from the information system after updates have been installed may be exploited by some adversaries.

Solution

Configure RHEL 10 to remove all software components after updated versions have been installed.

Edit the file "/etc/dnf/dnf.conf" by adding or editing the following line:

clean_requirements_on_remove=True

See Also

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