1.9 UBTU-22-214015

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-260477
RULE ID: SV-260477r1044773

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/22168

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-2(6), CAT|II, CCI|CCI-002617, Rule-ID|SV-260477r1044773_rule, STIG-ID|UBTU-22-214015, Vuln-ID|V-260477

Plugin: Unix

Control ID: 7d046f17d0a3f095bfe967a79315128969cda01c3d04759ce94ffe19f2389556