{"description": "To disable core dumps for all users, add the following line to\n<tt>/etc/security/limits.conf</tt>, or to a file within the\n<tt>/etc/security/limits.d/</tt> directory:\n<pre>*     hard   core    0</pre>", "rationale": "A core dump includes a memory image taken at the time the operating system\nterminates an application. The memory image could contain sensitive data and is generally useful\nonly for developers trying to debug problems.", "severity": "medium", "references": {"cis-csc": ["1", "12", "13", "15", "16", "2", "7", "8"], "cobit5": ["APO13.01", "BAI04.04", "DSS01.03", "DSS03.05", "DSS05.07"], "isa-62443-2013": ["SR 6.2", "SR 7.1", "SR 7.2"], "iso27001-2013": ["A.12.1.3", "A.17.2.1"], "nist": ["CM-6", "SC-7(10)"], "nist-csf": ["DE.CM-1", "PR.DS-4"], "srg": ["SRG-OS-000480-GPOS-00227"], "cis": ["1.5.3"], "pcidss4": ["3.3.1.1", "3.3.1", "3.3"]}, "control_references": {"cis": ["1.5.3"], "pcidss4": ["3.3.1.1", "3.3.1", "3.3"]}, "components": [], "identifiers": {}, "ocil_clause": "the \"core\" item is missing, commented out, or the value is anything other than \"0\" and the need for core dumps is not documented with the Information System Security Officer (ISSO) as an operational requirement for all domains that have the \"core\"", "ocil": "Verify that core dumps are disabled for all users, run the following command:\n<pre>$ grep core /etc/security/limits.conf</pre>\n<pre>*     hard   core    0</pre>", "oval_external_content": null, "fixtext": "Configure Ubuntu 22.04 to disable core dumps for all users.\n\nAdd the following line to the top of the /etc/security/limits.conf or in a \".conf\" file defined in /etc/security/limits.d/:\n\n* hard core 0", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must disable core dumps for all users.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must disable core dumps for all users.", "vuldiscussion": "A core dump includes a memory image taken at the time the operating system terminates an application. The memory image could contain sensitive data and is generally useful only for developers trying to debug problems.", "checktext": "Verify Ubuntu 22.04 disables core dumps for all users by issuing the following command:\n\n$ grep -r -s core /etc/security/limits.conf /etc/security/limits.d/*.conf\n\n/etc/security/limits.conf:* hard core 0\n\nThis can be set as a global domain (with the * wildcard) but may be set differently for multiple domains.\n\nIf the \"core\" item is missing, commented out, or the value is anything other than \"0\" and the need for core dumps is not documented with the information system security officer (ISSO) as an operational requirement for all domains that have the \"core\" item assigned, this is a finding.", "fixtext": "Configure the operating system to disable core dumps for all users.\n\nAdd the following line to the top of the /etc/security/limits.conf or in a single \".conf\" file defined in /etc/security/limits.d/:\n\n* hard core 0"}}, "platform": "package[pam]", "platforms": ["package[pam]"], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": ["package_pam"], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Disable Core Dumps for All Users", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/restrictions/coredumps/disable_users_coredumps/rule.yml", "template": null}