1.130 UBTU-24-700320

Information

The operating system must be configured so that the Advance Package Tool (APT) removes all software components after updated versions have been installed.

GROUP ID: V-270773
RULE ID: SV-270773r1066808

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 APT to remove all software components after updated versions have been installed.

Add or modify the following lines in the "/etc/apt/apt.conf.d/50unattended-upgrades" file:

Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
Unattended-Upgrade::Remove-Unused-Dependencies "true";

See Also

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

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-2(6), CAT|II, CCI|CCI-002617, Rule-ID|SV-270773r1066808_rule, STIG-ID|UBTU-24-700320, Vuln-ID|V-270773

Plugin: Unix

Control ID: 388cc7c7b1c5df6965a18b0ff34ecabbf7dff802f894275d4c0c08288fea5eeb