AZLX-23-002615 - Amazon Linux 2023 must remove all software components after updated versions have been installed.

Information

Previous versions of software components that are not removed from the information system after updates have been installed may be exploited by some adversaries.

Solution

Configure Amazon Linux 2023 to remove all software components after updated versions have been installed.

Set the "clean_requirements_on_remove" option to "1" in the "/etc/dnf/dnf.conf" file:

clean_requirements_on_remove=1

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Amazon_Linux_2023_V1R1_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-2(6), CAT|II, CCI|CCI-002617, Rule-ID|SV-274185r1120543_rule, STIG-ID|AZLX-23-002615, Vuln-ID|V-274185

Plugin: Unix

Control ID: e96b8479e6125a5a25d3a7dda6ddba242ea0708092919cf3cd3e42ed0669ca2b