SV-248827r1208716_rule
V-248827
SRG-OS-000095-GPOS-00049
OL08-00-040010
CAT I
10
Configure OL 8 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 ol8_developer_EPEL remove
Remove the package that installs access to the EPEL repo:
$ dnf remove oracle-epel-release-el8
Verify that OL 8 is not able to install packages from the EPEL with the following command:
$ dnf repolist
repo id repo name
ol8_UEKR7 Latest Unbreakable Enterprise Kernel Release 7 for Oracle Linux 8 (x86_64)
ol8_appstream Oracle Linux 8 Application Stream (x86_64)
ol8_baseos_latest Oracle Linux 8 BaseOS Latest (x86_64)
If any repositories containing the word "epel" in the name exist, this is a finding.
V-248827
False
OL08-00-040010
Verify that OL 8 is not able to install packages from the EPEL with the following command:
$ dnf repolist
repo id repo name
ol8_UEKR7 Latest Unbreakable Enterprise Kernel Release 7 for Oracle Linux 8 (x86_64)
ol8_appstream Oracle Linux 8 Application Stream (x86_64)
ol8_baseos_latest Oracle Linux 8 BaseOS Latest (x86_64)
If any repositories containing the word "epel" in the name exist, this is a finding.
M
5416