UBTU-20-010449 - The Ubuntu operating system must be configured so that Advance Package Tool (APT) removes all software components after updated versions have been installed - APT removes all software components after updated versions have been installed

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

Add or updated the following options to the '/etc/apt/apt.conf.d/50unattended-upgrades' file:

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_20-04_LTS_V1R10_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-2(6), CAT|II, CCI|CCI-002617, Rule-ID|SV-238370r853447_rule, STIG-ID|UBTU-20-010449, Vuln-ID|V-238370

Plugin: Unix

Control ID: b4a7cdbfc6f3029119068b186b4e5c429e4a8fbaea7094d918a1ad3c931e75d9