How to remediate VULNERABILITY: RPC Mountd Allows Remote Anonymous File System Root Mount

Solution Verified - Updated -

Issue

  • How to fix the VULNERABILITY - RPC Mountd Allows Remote Anonymous File System Root Mount ?
  • On the affected server, "/" is not share through NFS explicitly.
# cat /etc/exports | wc -l
0
  • The other NFS client can see "/" is exported from the affected server.
# showmount -e <IP of the affected server>
Export list for hostname:
/ *

Environment

  • Red hat Enterprise Linux 7
  • Red hat Enterprise Linux 8
  • Red hat Enterprise Linux 9
  • NFS Server

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content