Advisory

UBUNTU-CVE-2025-4598

Also known as: CVE-2025-4598

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4.7, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2025-05-30 14:15 UTC
Modified
2026-04-22 16:03 UTC

Affected packages and fixes

systemd

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 249.11-0ubuntu3.16 (ecosystem)

Fixed versions

249.11-0ubuntu3.16

Fix

  • Fixed version 249.11-0ubuntu3.16
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

systemd

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 255.4-1ubuntu8.8 (ecosystem)

Fixed versions

255.4-1ubuntu8.8

Fix

  • Fixed version 255.4-1ubuntu8.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences