RHEL-09-213100 - RHEL 9 must disable acquiring, saving, and processing core dumps.

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 the system to disable the systemd-coredump.socket with the following command:

$ sudo systemctl mask --now systemd-coredump.socket

Created symlink /etc/systemd/system/systemd-coredump.socket -> /dev/null

Reload the daemon for this change to take effect.

$ sudo systemctl daemon-reload

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257815r991589_rule, STIG-ID|RHEL-09-213100, Vuln-ID|V-257815

Plugin: Unix

Control ID: 8d388f7463e7b38beb5500778a3cda4f2adb755538e6883b1ca5669817a6403c