RHEL-09-213095 - RHEL 9 must disable core dumps for all users.

Information

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.

Solution

Configure RHEL 9 to disable core dumps for all users.

Add the following line to the top of the /etc/security/limits.conf or in a single ".conf" file defined in /etc/security/limits.d/:

* hard core 0

Remove or comment out any entries for users or groups with a value set to anything other than "0".

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257814r1156057_rule, STIG-ID|RHEL-09-213095, Vuln-ID|V-257814

Plugin: Unix

Control ID: f11d956a0b9655a4dbab9ba69bd8286198b9e31ca6164d6dff79d0dee05f7930