ISOMAN

CVE

CVE-2025-5054

Race condition in Canonical apport up to and including 2.32.0 allows a local attacker to leak sensitive information via PID-reuse by leveraging namespaces. When handling a crash, the function `_check_global_pid_and_forward`, which detects if the crashing process resided in a container, was being called before `consistency_checks`, which attempts to detect if the crashing process had been replaced. Because of this, if a process crashed and was quickly replaced with a containerized one, apport could be made to forward the core dump to the container, potentially leaking sensitive information. `consistency_checks` is now being called before `_check_global_pid_and_forward`. Additionally, given that the PID-reuse race condition cannot be reliably detected from userspace alone, crashes are only forwarded to containers if the kernel provided a pidfd, or if the crashing process was unprivileged (i.e., if dump mode == 1).

Severity
MEDIUM
CVSS
4.7
Published
Modified

Linked Releases

DistributionReleaseStatusEvidence
Ubuntu24.04.4 amd64 desktopunknownsource
Ubuntu24.04.4 amd64 live-serverunknownsource
Ubuntu24.04.3 amd64 live-serverunknownsource
Ubuntu22.04.5 amd64 desktopunknownsource
Ubuntu22.04.5 amd64 live-serverunknownsource
Ubuntu20.04.6 amd64 desktopunknownsource
Ubuntu20.04.6 amd64 live-serverunknownsource
Ubuntu18.04.6 amd64 desktopunknownsource
Ubuntu18.04.6 amd64 live-serverunknownsource
Ubuntu16.04.7 amd64 desktopunknownsource
Ubuntu16.04.6 i386 desktopunknownsource
Ubuntu16.04.7 amd64 serverunknownsource
Ubuntu16.04.6 i386 serverunknownsource
Ubuntu24.04 amd64 beta-desktopunknownsource
Ubuntu24.04 amd64 beta-live-serverunknownsource
Ubuntu24.04unknownsource
Ubuntu24.04 arm64 beta-live-serverunknownsource
Ubuntu24.04 ppc64el beta-live-serverunknownsource
Ubuntu24.04 riscv64unknownsource
Ubuntu24.04 s390x beta-live-serverunknownsource
Ubuntu24.04 amd64 desktopunknownsource
Ubuntu24.04 amd64 live-serverunknownsource
Ubuntu24.04 arm64 live-serverunknownsource
Ubuntu24.04 ppc64el live-serverunknownsource
Ubuntu24.04 s390x live-serverunknownsource
Ubuntu24.04.1 amd64 desktopunknownsource
Ubuntu24.04.1 amd64 live-serverunknownsource
Ubuntu24.04.1unknownsource
Ubuntu24.04.1 arm64 live-serverunknownsource
Ubuntu24.04.1 ppc64el live-serverunknownsource
Ubuntu24.04.1 riscv64unknownsource
Ubuntu24.04.1 s390x live-serverunknownsource
Ubuntu24.04.2 amd64 desktopunknownsource
Ubuntu24.04.2 amd64 live-serverunknownsource
Ubuntu24.04.2unknownsource
Ubuntu24.04.2 arm64 live-serverunknownsource
Ubuntu24.04.2 ppc64el live-serverunknownsource
Ubuntu24.04.2 riscv64unknownsource
Ubuntu24.04.2 s390x live-serverunknownsource

References

  1. https://ubuntu.com/security/CVE-2025-5054
  2. https://ubuntu.com/security/notices/USN-7545-1
  3. https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt
  4. http://seclists.org/fulldisclosure/2025/Jun/9