1. Home
  2. Security Hardening
  3. DISA STIG Ubuntu 18.04 LTS V2R4
  4. 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-Dependencies

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-Dependencies

Details

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’;

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: System and Information Integrity.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles