Information
The Network File System (NFS) is one of the first and most widely distributed file systems in the UNIX environment. It provides the ability for systems to mount file systems of other servers through the network.
If the system does not require network shares, it is recommended that the nfs-utils package be removed to reduce the attack surface of the system.
Solution
Run the following command to remove nfs-utils :
# dnf remove nfs-utils
OR
If the nfs-package is required as a dependency, run the following command to stop and mask the nfs-server service:
# systemctl --now mask nfs-server
Impact:
Many of the libvirt packages used by Enterprise Linux virtualization are dependent on the nfs-utils package. If the nfs-package is required as a dependency, the nfs-server should be disabled and masked to reduce the attack surface of the system.