Systemd-coredump: race condition that allows a local attacker to crash a suid program and gain read access to the resulting core dump
2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 6.16, 257.6, 256.14 and 4 more.
A vulnerability was found in systemd-coredump. This flaw allows an attacker to force a SUID process to crash and replace it with a non-SUID binary to access the original's privileged process coredump, allowing the attacker to read sensitive data, such as /etc/shadow content, loaded by the original process. A SUID binary or process has a special type of permission, which allows the process to run with the file owner's permissions, regardless of the user executing the binary. This allows the process to access more restricted data than unprivileged users or processes would be able to. An attacker can leverage this flaw by forcing a SUID process to crash and force the Linux kernel to recycle the process PID before systemd-coredump can analyze the /proc/pid/auxv file. If the attacker wins the race condition, they gain access to the original's SUID process coredump file. They can read sensitive content loaded into memory by the original binary, affecting data confidentiality.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | <6.16 | 6.16 |
| Oracle | Linux | =8, =9 | |
| Red Hat | Ceph Storage | ||
| Red Hat | Discovery | ||
| Red Hat | Enterprise Linux | ||
| Red Hat | Insights proxy | ||
| Red Hat | OpenShift Container Platform | ||
| debian | debian_linux | =12.0, =11.0 | |
| redhat | openshift_container_platform | =4.0 | |
| redhat | enterprise_linux | =10.0, =7.0, =8.0, =9.0 | |
| systemd_project | systemd | >=257 <257.6, >=256 <256.14, >=255 <255.19, >=254 <254.25, >=253 <253.32, <252.37 | 257.6, 256.14, 255.19, 254.25, 253.32, 252.37 |
| <252.37, >=253.0 <253.32, >=254.0 <254.25, >=255.0 <255.19, >=256.0 <256.14, >=257.0 <257.6 | 252.37, 253.32, 254.25, 255.19, 256.14, 257.6 |
Exploit evidence
2 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket