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_V2R1_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

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

Plugin: Unix

Control ID: 6d5ed46fff00280b433d15d972138c056e0803e00ffc4ba921cf4bfdfc5560c3