UBTU-18-010017 - The Ubuntu operating system must be configured so that Advance package Tool (APT) removes all software components after updated versions have been installed - Remove-Unused-Kernel-Packages

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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_18-04_LTS_V2R8_STIG.zip

Item Details

References: CAT|II, CCI|CCI-002617, Rule-ID|SV-219156r610963_rule, STIG-ID|UBTU-18-010017, STIG-Legacy|SV-109641, STIG-Legacy|V-100537, Vuln-ID|V-219156

Plugin: Unix

Control ID: ca1bc67617521735551244dc9be79c322279de871a4de65e6d453edda5b58886