1.389 RHEL-10-701180

Information

RHEL 10 must disable acquiring, saving, and processing core dumps.

GROUP ID: V-281320RULE ID: SV-281320r1184635

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 10 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://workbench.cisecurity.org/benchmarks/26403