1.182 ALMA-09-023120

Information

AlmaLinux OS 9 must prevent special devices on file systems that are imported via Network File System (NFS).

GROUP ID: V-269285
RULE ID: SV-269285r1050167

The "nodev" mount option causes the system to not interpret character or block special devices. Executing character or block special devices from untrusted file systems increases the opportunity for nonprivileged users to attain unauthorized administrative access.

Solution

Update each NFS mounted file system to use the "nodev" option on file systems that are being imported via NFS.

See Also

https://workbench.cisecurity.org/benchmarks/27039