DISA STIGS Viewer

OL 9 must remove all software components after updated versions have been installed.

Overview

Finding ID Version Rule ID IA Controls Severity
V-271522 OL09-00-000495 SV-271522r1091278_rule   Low
Description
Previous versions of software components that are not removed from the information system after updates have been installed may be exploited by some adversaries.
STIG Date
Oracle Linux 9 Security Technical Implementation Guide 2025-05-08

Details

Check Text (C-75572r1091276_chk)
Verify that OL 9 removes all software components after updated versions have been installed with the following command:

$ grep clean /etc/dnf/dnf.conf
clean_requirements_on_remove=True

If clean_requirements_on_remove is not set to "True", this is a finding.
Fix Text (F-75479r1091277_fix)
Configure OL 9 to remove all software components after updated versions have been installed.

Edit the file /etc/dnf/dnf.conf by adding or editing the following line:

clean_requirements_on_remove=1