Urgent.News

What's breaking now, across thousands of outlets.

Tech

Why `suid_dumpable=2` Needs a Pipeline Check

Why suid_dumpable=2 Needs a Pipeline Check Core dumps help engineers diagnose crashes. They can also contain encryption keys, session material, submitted form data, and fragments of memory from privileged work. On Linux, the fs.suid_dumpable setting decides how the kernel treats dumps for processes that normally would not produce one. Mode 2 is the safe mode only when a second setting remains…

The fs.suid_dumpable setting on Linux controls how core dumps are handled for setuid processes. Mode 2 is the safest option because it only creates dumps when the kernel.core_pattern variable points to a pipe or a specific path. However, this safe mode only works if the core_pattern is properly configured to a pipe or valid path. If the core_pattern is set to an incorrect location or removed altogether, dumps could still end up in unexpected places, potentially exposing sensitive information.

The kernel documentation emphasizes that a dump may contain encryption keys, session data, and other privileged information. Therefore, it is crucial to verify that the core_pattern is set correctly and protected. Operators often inherit old core_pattern settings from configuration management defaults, which can lead to insecure dump locations if not regularly reviewed.

To ensure proper dump handling, it is recommended to test the configuration on a disposable host with a non-critical program. Set the expected sysctls, trigger a controlled crash, and observe whether the dump is written to the expected pipe or file location. Verify the permissions on the dump destination to ensure only authorized users can access the sensitive information.

The final review should answer four key questions: which services can generate dumps, where the kernel sends them, who can read the destination, and how long they are retained. If any of these factors depend on manual steps, those steps should be observable in configuration management and deployment checks to maintain a clear path from memory to secure deletion of sensitive data.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

An old dog trying to learn new tricks.

I am new to not just a newbie to the Dev community but I have to admit and I hate posting this. Even at 47 years old I am still a software developer virgin…..

  • 47-year-old professional struggles to learn software development
  • Overwhelmed by vast information for a seasoned newbie
  • Misses old internet screech in modern WiFi era

How CAD/CAM Shapes Modern Injection Mould Design

Injection mould design today is a digital workflow from the first part model to the final trial. Here is a general walk through how CAD/CAM shapes each stage. 1.

  • CAD software creates 3D plastic part representations
  • Designers plan parting line, inserts, and cooling channels
  • CAM translates design into CNC machining instructions

More from Saturday 31 October →