Check: RHEL-09-214035
RHEL 9 STIG:
RHEL-09-214035
(in versions v1 r3 through v1 r1)
Title
RHEL 9 must remove all software components after updated versions have been installed. (Cat III impact)
Discussion
Previous versions of software components that are not removed from the information system after updates have been installed may be exploited by some adversaries.
Check Content
Verify RHEL 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=1 If "clean_requirements_on_remove" is not set to "1", this is a finding.
Fix Text
Configure RHEL 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
Additional Identifiers
Rule ID: SV-257824r925459_rule
Vulnerability ID: V-257824
Group Title: SRG-OS-000437-GPOS-00194
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002617 |
The organization removes organization-defined software components (e.g., previous versions) after updated versions have been installed. |
Controls
Number | Title |
---|---|
SI-2 (6) |
Removal Of Previous Versions Of Software / Firmware |