cbcvebase.
CVE-2025-5054
published 2025-05-30

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…

PriorityP422medium4.7CVSS 3.1
AVLACHPRLUINSUCHINAN
EPSS
0.67%
47.8th percentile
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).

Affected

22 ranges
VendorProductVersion rangeFixed in
apport_projectapport>= 0 < 2.20.11-0ubuntu27.282.20.11-0ubuntu27.28
apport_projectapport>= 0 < 2.20.11-0ubuntu82.72.20.11-0ubuntu82.7
apport_projectapport>= 0 < 2.28.1-0ubuntu3.62.28.1-0ubuntu3.6
apport_projectapport>= 0 < 2.20.1-0ubuntu2.30+esm52.20.1-0ubuntu2.30+esm5
apport_projectapport>= 0 < 2.20.9-0ubuntu7.29+esm12.20.9-0ubuntu7.29+esm1
canonicalapport<= 2.32.0
canonicalapport2.20 – 2.32.0
canonicalapport>= 2.20.1 < 2.20.1-0ubuntu2.30+esm52.20.1-0ubuntu2.30+esm5
canonicalapport>= 2.20.11 < 2.20.11-0ubuntu27.282.20.11-0ubuntu27.28
canonicalapport>= 2.20.11 < 2.20.11-0ubuntu82.72.20.11-0ubuntu82.7
canonicalapport>= 2.20.9 < 2.20.9-0ubuntu7.29+esm12.20.9-0ubuntu7.29+esm1
canonicalapport>= 2.28.1 < 2.28.1-0ubuntu3.62.28.1-0ubuntu3.6
canonicalapport>= 2.30.0 < 2.30.0-0ubuntu4.32.30.0-0ubuntu4.3
canonicalapport>= 2.32.0 < 2.32.0-0ubuntu5.12.32.0-0ubuntu5.1
canonicalapport>= 2.32.0 < 2.33.0-0ubuntu12.33.0-0ubuntu1
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
osv4.7MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.