SV-257830r1134906_rule
V-257830
SRG-OS-000095-GPOS-00049
RHEL-09-215035
CAT II
10
The repo package can be manually removed with the following command:
$ sudo dnf remove epel-release
Configure the operating system to disable use of the EPEL repository with the following command:
$ sudo dnf config-manager --set-disabled epel
Verify that RHEL 9 is not able to install packages from the EPEL with the following command:
$ dnf repolist
rhel-9-for-x86_64-appstream-rpms Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
rhel-9-for-x86_64-baseos-rpms Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)
If any repositories containing the word "epel" in the name exist, this is a finding.
V-257830
False
RHEL-09-215035
Verify that RHEL 9 is not able to install packages from the EPEL with the following command:
$ dnf repolist
rhel-9-for-x86_64-appstream-rpms Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
rhel-9-for-x86_64-baseos-rpms Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)
If any repositories containing the word "epel" in the name exist, this is a finding.
M
5551