SV-271457r1208721_rule
V-271457
SRG-OS-000095-GPOS-00049
OL09-00-000105
CAT II
10
Configure OL 9 to not be able to install packages from the EPEL.
Search for and remove any/all packages that came from the EPEL repo:
$ dnf repository-packages ol9_developer_EPEL remove
Remove the package that installs access to the EPEL repo:
$ dnf remove oracle-epel-release-el9
Verify that OL 9 is not able to install packages from the EPEL with the following command:
$ dnf repolist
repo id repo name
ol9_UEKR7 Oracle Linux 9 UEK Release 7 (x86_64)
ol9_appstream Oracle Linux 9 Application Stream Packages (x86_64)
ol9_baseos_latest Oracle Linux 9 BaseOS Latest (x86_64)
ol9_oraclelinuxmanager210_client Oracle Linux Manager Client 2.10 for Oracle Linux 9 (x86_64)
If any repositories containing the word "epel" in the name exist, this is a finding.
V-271457
False
OL09-00-000105
Verify that OL 9 is not able to install packages from the EPEL with the following command:
$ dnf repolist
repo id repo name
ol9_UEKR7 Oracle Linux 9 UEK Release 7 (x86_64)
ol9_appstream Oracle Linux 9 Application Stream Packages (x86_64)
ol9_baseos_latest Oracle Linux 9 BaseOS Latest (x86_64)
ol9_oraclelinuxmanager210_client Oracle Linux Manager Client 2.10 for Oracle Linux 9 (x86_64)
If any repositories containing the word "epel" in the name exist, this is a finding.
M
5680