SLEM 5 must remove all outdated software components after updated versions have been installed.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-261275SRG-OS-000437-GPOS-00194SLEM-05-214020SV-261275r996314_rule2024-06-041
Description
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.
ℹ️ Check
Verify SLEM 5 removes all outdated software components after updated version have been installed by running the following command: > grep -i upgraderemovedroppedpackages /etc/zypp/zypp.conf solver.upgradeRemoveDroppedPackages = true If "solver.upgradeRemoveDroppedPackages" is not set to "true", is commented out, or missing, this is a finding.
✔️ Fix
Configure SLEM 5 to remove all outdated software components after an update. Add or modify the following line in the "/etc/zypp/zypp.conf" file: solver.upgradeRemoveDroppedPackages = true