Do Now
Timing: Act this week if TCP port 2049 on any affected NFS server can be reached from an untrusted network, which can include an internal one. Check scope and timing on the same system.
- Keep a list of every host that runs nfsd, including hosts where nfs-server is not enabled at boot.
- Confirm that hosts which only mount shares do not run nfsd.
- Watch the Ubuntu tracker and Red Hat's Affected rows, including RHEL 9, for a fixed kernel.
Do Next
Find every Linux host running the in-kernel NFS server.
Compare each installed kernel with the fixed build for its distribution or branch, and note hosts where none is listed.
Install the fixed kernel on affected hosts that have one, and restart them.
Where no fixed build is listed, apply a stopgap and keep it until a fix ships.
After each restart, confirm the running kernel is the fixed version.
Proof the update is done
After reboot, check that the running kernel matches the fixed release for your branch.
Check that the Linux CVE record lists no fixed release for your branch. Record the date.
Check the installed kernel package against the advisory for your stream. After reboot, check that the fixed kernel is running.
Check that Red Hat still lists your package row as Affected with no advisory. Record the date.
Check that Ubuntu still lists the linux package for your release as Vulnerable and lists no security notice. Record the date.
Check the installed kernel package against the fixed build for your Debian suite and package. After reboot, check that the fixed kernel is running.
Records that show the conditions apply
Inventory records, installed version records and provider notices show whether each condition applies.
Where to look first
Check firewall logs for connections to port 2049 from untrusted addresses.
Look on exposed servers for root accounts, keys or services nobody on your team created.
What to recheck
Check the CVE record, OpenSec NFS2ROOT advisory, Red Hat CVE page, CISA KEV for updates. Note the date of each check.