UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Advance package Tool (APT) must remove all software components after updated versions have been installed.


Overview

Finding ID Version Rule ID IA Controls Severity
V-75529 UBTU-16-010570 SV-90209r1_rule Medium
Description
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.
STIG Date
Canonical Ubuntu 16.04 Security Technical Implementation Guide 2019-12-23

Details

Check Text ( C-75233r1_chk )
Verify Advance package Tool (APT) is configured to remove all software components after updated versions have been installed.

Check that APT is configured to remove all software components after updating with the following command:

# grep -i remove-unused /etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Remove-Unused-Dependencies "true";

If the "Remove-Unused-Dependencies" parameter is not set to "true", or is missing, this is a finding.
Fix Text (F-82157r1_fix)
Configure APT to remove all software components after updated versions have been installed.

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

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