AlmaLinux OS 9 must not have the nfs-utils package installed.

STIG ID: ALMA-09-030600  |  SRG: SRG-OS-000095-GPOS-00049 |  Severity: medium |  CCI: CCI-000381 |  Vulnerability Id: V-269350

Vulnerability Discussion

"nfs-utils" provides a daemon for the kernel Network File System (NFS) server and related tools. This package also contains the "showmount" program. "showmount" queries the mount daemon on a remote host for information about the NFS server on the remote host. For example, "showmount" can display the clients that are mounted on that host.

Check

Verify that the nfs-utils package is not installed with the following command:

$ dnf list --installed nfs-utils

Error: No matching Packages to list

If the "nfs-utils" package is installed, this is a finding.

Fix

Remove the nfs-utils package with the following command:

$ dnf remove nfs-utils