{"description": "By default, the SELinux boolean <tt>selinuxuser_execheap</tt> is disabled.\nWhen enabled this boolean is enabled it allows selinuxusers to execute code from the heap.\nIf this setting is enabled, it should be disabled.\n\nTo disable the <code>selinuxuser_execheap</code> SELinux boolean, run the following command:\n<pre>$ sudo setsebool -P selinuxuser_execheap off</pre>", "rationale": "Disabling code execution from the heap blocks buffer overflow attacks.", "severity": "medium", "references": {"hipaa": ["164.308(a)(1)(ii)(D)", "164.308(a)(3)", "164.308(a)(4)", "164.310(b)", "164.310(c)", "164.312(a)", "164.312(e)"], "anssi": ["R48"]}, "control_references": {"anssi": ["R48"]}, "components": [], "identifiers": {}, "ocil_clause": "selinuxuser_execheap is not disabled", "ocil": "\nRun the following command to determine if the <code>selinuxuser_execheap</code> SELinux boolean is disabled:\n<pre>$ getsebool selinuxuser_execheap</pre>\nIf properly configured, the output should show the following:\n<code>selinuxuser_execheap --> off</code>", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {"check-import": "stdout", "check-export": ["var_selinuxuser_execheap=xccdf_org.ssgproject.content_value_var_selinuxuser_execheap"], "platform": ["multi_platform_all"], "environment": "any", "filename": "sebool_selinuxuser_execheap.sh", "relative_path": "ubuntu2204/checks/sce/sebool_selinuxuser_execheap.sh"}, "inherited_platforms": ["system_with_kernel", "selinux or bootc or osbuild"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel", "bootc_or_osbuild_or_selinux"], "bash_conditional": null, "fixes": {}, "title": "Disable the selinuxuser_execheap SELinux Boolean", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/selinux/selinux-booleans/sebool_selinuxuser_execheap/rule.yml", "template": {"name": "sebool", "vars": {"seboolid": "selinuxuser_execheap"}, "backends": {}}}