STIGhubSTIGhub
STIGsRMF ControlsCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • RMF Controls
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 4 hours ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to Oracle Linux 8 Security Technical Implementation Guide

V-248595

CAT III (Low)

YUM must remove all software components after updated versions have been installed on OL 8.

Rule ID

SV-248595r958936_rule

STIG

Oracle Linux 8 Security Technical Implementation Guide

Version

V2R8

CCIs

CCI-002617

Discussion

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.

Check Content

Verify the operating system removes all software components after updated versions have been installed. 
 
Check if YUM is configured to remove unneeded packages with the following command: 
 
$ sudo grep -i clean_requirements_on_remove /etc/yum.conf 
 
clean_requirements_on_remove=True 
 
If "clean_requirements_on_remove" is not set to "True", commented out, or missing from "/etc/yum.conf", this is a finding.

Fix Text

Configure OL 8 to remove all software components after updated versions have been installed. 
 
Set the "clean_requirements_on_remove" option to "True" in the "/etc/yum.conf" file: 
 
clean_requirements_on_remove=True