AZLX-23-002585 - Amazon Linux 2023 must mount /dev/shm with the nodev option.

Information

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

Configure Amazon Linux 2023 so that "/dev/shm" is mounted with the "nodev" option.

Modify "/etc/fstab" to use the "nodev" option on the "/dev/shm" file system.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Amazon_Linux_2023_V1R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7(2), CAT|II, CCI|CCI-001764, Rule-ID|SV-274179r1120525_rule, STIG-ID|AZLX-23-002585, Vuln-ID|V-274179

Plugin: Unix

Control ID: 3104f6f40d738e84aa371a793dbeff31d21e079fa2ec94ed83bbf0af59cd98e7