1.178 ALMA-09-022680

Information

AlmaLinux OS 9 must prevent special devices on file systems that are used with removable media.

GROUP ID: V-269281
RULE ID: SV-269281r1050163

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

Solution

Configure the "/etc/fstab" to use the "nodev" option on file systems that are associated with removable media.

See Also

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