CVE-2025-5054 Race Condition in Canonical Apport
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Ubuntu
Description
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).
Upgrade path
10 packages: 3 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux systemd(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux systemd-bootstrap(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| cbl-mariner systemd(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| cbl-mariner systemd-bootstrap(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| Microsoft cbl2 systemd 250.3-21 | All versions | No fix listed | No fix yet |
| Microsoft cbl2 systemd-bootstrap 250.3-12 | All versions | No fix listed | No fix yet |
| Canonical apport | <= 2.32.0; >= 2.20, <= 2.32.0; >= 2.20.1, < 2.20.1-0ubuntu2.30+esm5; >= 2.20.9, < 2.20.9-0ubuntu7.29+esm1 +6 more | 2.20.1-0ubuntu2.30+esm5, 2.20.9-0ubuntu7.29+esm1, 2.20.11-0ubuntu27.28, 2.20.11-0ubuntu82.7, 2.28.1-0ubuntu3.6, 2.30.0-0ubuntu4.3, 2.32.0-0ubuntu5.1, 2.33.0-0ubuntu1 | Fixed |
| ubuntu/apport(Ubuntu 22.04) | < 2.20.11-0ubuntu82.7 | 2.20.11-0ubuntu82.7 | Fixed |
| ubuntu/apport(Ubuntu 24.04) | < 2.28.1-0ubuntu3.6 | 2.28.1-0ubuntu3.6 | Fixed |
| Canonical Ubuntu Linux | = 16.04; = 18.04; = 20.04; = 22.04 +3 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux systemd(Azure Linux:3.0) | All versions | No fix listed |
| Microsoft cbl2 systemd 250.3-21 | All versions | No fix listed |
| cbl-mariner systemd-bootstrap(CBL-Mariner:2.0) | All versions | No fix listed |
| cbl-mariner systemd(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux systemd-bootstrap(Azure Linux:3.0) | All versions | No fix listed |
| Microsoft cbl2 systemd-bootstrap 250.3-12 | All versions | No fix listed |
| Canonical apport | >= 2.20.1, < 2.20.1-0ubuntu2.30+esm5 | 2.20.1-0ubuntu2.30+esm5 |
| Canonical apport | >= 2.20.9, < 2.20.9-0ubuntu7.29+esm1 | 2.20.9-0ubuntu7.29+esm1 |
| Canonical apport | >= 2.20.11, < 2.20.11-0ubuntu27.28 | 2.20.11-0ubuntu27.28 |
| Canonical apport | >= 2.20.11, < 2.20.11-0ubuntu82.7 | 2.20.11-0ubuntu82.7 |
| Canonical apport | >= 2.28.1, < 2.28.1-0ubuntu3.6 | 2.28.1-0ubuntu3.6 |
| Canonical apport | >= 2.30.0, < 2.30.0-0ubuntu4.3 | 2.30.0-0ubuntu4.3 |
| Canonical apport | >= 2.32.0, < 2.32.0-0ubuntu5.1 | 2.32.0-0ubuntu5.1 |
| Canonical apport | >= 2.32.0, < 2.33.0-0ubuntu1 | 2.33.0-0ubuntu1 |
| Canonical apport | >= 2.20, <= 2.32.0 | No fix listed |
| ubuntu/apport(Ubuntu:22.04) | < 2.20.11-0ubuntu82.7 | 2.20.11-0ubuntu82.7 |
| ubuntu/apport(Ubuntu:24.04) | < 2.28.1-0ubuntu3.6 | 2.28.1-0ubuntu3.6 |
| Canonical apport | <= 2.32.0 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| Canonical Ubuntu Linux | = 20.04 | No fix listed |
| Canonical Ubuntu Linux | = 22.04 | No fix listed |
| Canonical Ubuntu Linux | = 24.04 | No fix listed |
| Canonical Ubuntu Linux | = 24.10 | No fix listed |
| Canonical Ubuntu Linux | = 25.04 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- USN-7545-1 third-party-advisory vendor-advisory
- Ubuntu CVE tracker third-party-advisory vdb-entry vendor-advisory
- www.qualys.com exploit mitigation third-party-advisory
- seclists.org
- www.cve.org