1.1.23 Disable Mounting of squashfs Filesystems - install squashfs /bin/true'

Information

The squashfs filesystem type is a compressed read-only Linux filesystem embedded in small footprint systems (similar to cramfs). A squashfs image can be used without having to first decompress the image.

Rationale:

Removing support for unneeded filesystem types reduces the local attack surface of the server. If this filesystem type is not needed, disable it.

Solution

Edit or create a file in the /etc/modprobe.d/ directory ending in .conf
Example: /etc/modprobe.d/squashfs.conf
Add the following line:

install squashfs /bin/true

Default Value:

OS Default: N/A

See Also

https://workbench.cisecurity.org/files/3096

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv6|3.1, CSCv7|5.1

Plugin: Unix

Control ID: 387440ad94ddf2f8fa2e857af703f455496c8cf3067c7628dcb023438faa1f2e