Information
OL 9 must not install packages from the Extra Packages for Enterprise Linux (EPEL) repository.
GROUP ID: V-271457
RULE ID: SV-271457r1134853
The EPEL is a repository of high-quality open-source packages for enterprise-class Linux distributions such as RHEL, CentOS, AlmaLinux, Rocky Linux, and Oracle Linux. These packages are not part of the official distribution but are built using the same Fedora build system to ensure compatibility and maintain quality standards.
Solution
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