documentation_complete: true


title: 'Add nosuid Option to /boot'

description: |-
    The <tt>nosuid</tt> mount option can be used to prevent
    execution of setuid programs in <tt>/boot</tt>. The SUID and SGID permissions
    should not be required on the boot partition.
    {{{ describe_mount(option="nosuid", part="/boot") }}}

rationale: |-
    The presence of SUID and SGID executables should be tightly controlled. Users
    should not be able to execute SUID or SGID binaries from boot partitions.

{{{ complete_ocil_entry_mount_option("/boot", "nosuid") }}}

severity: medium

identifiers:
    cce@rhel8: CCE-81033-3
    cce@rhel9: CCE-83877-1
    cce@rhel10: CCE-88881-8
    cce@sle12: CCE-91542-1
    cce@sle15: CCE-91235-2

references:
    nerc-cip: CIP-003-8 R5.1.1,CIP-003-8 R5.3,CIP-004-6 R2.3,CIP-007-3 R2.1,CIP-007-3 R2.2,CIP-007-3 R2.3,CIP-007-3 R5.1,CIP-007-3 R5.1.1,CIP-007-3 R5.1.2
    nist: CM-7(a),CM-7(b),CM-6(a),AC-6,AC-6(1),MP-7
    nist-csf: PR.IP-1,PR.PT-2,PR.PT-3
    srg: SRG-OS-000368-GPOS-00154,SRG-OS-000480-GPOS-00227
    stigid@ol8: OL08-00-010571


template:
    name: mount_option
    vars:
        mountpoint: /boot
        mountoption: nosuid

fixtext: |-
    {{{ fixtext_mount_option("/boot", "nosuid") }}}

srg_requirement: '{{{ srg_requirement_mount_option("/boot", "nosuid") }}}'
