RHEL-08-010440 - YUM must remove all software components after updated versions have been installed on RHEL 8.

Information

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://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_8_V1R13_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-2(6), CAT|III, CCI|CCI-002617, Rule-ID|SV-230281r854034_rule, STIG-ID|RHEL-08-010440, Vuln-ID|V-230281

Plugin: Unix

Control ID: 432db7e8dc980664550fc1f9787c10141797304897810273b5cbf8638150c488