CVE-2025-5054
published medium CVSS 3.1 · 4.7Race Condition in Canonical Apport
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | apportApport · 2.20.1 to < 2.20.1-0ubuntu2.30+esm5 · 2.20.9 to < 2.20.9-0ubuntu7.29+esm1 · 2.20.11 to < 2.20.11-0ubuntu27.28 · 2.20.11 to < 2.20.11-0ubuntu82.7 · 2.28.1 to < 2.28.1-0ubuntu3.6 · 2.30.0 to < 2.30.0-0ubuntu4.3 · 2.32.0 to < 2.32.0-0ubuntu5.1 · 2.32.0 to < 2.33.0-0ubuntu1 · 2.20 through 2.32.0 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
| Ubuntu | bionic | apport | Advisory build | 2.20.9-0ubuntu7.29+esm1 | USN-7545-1 |
| Ubuntu | focal | apport | Advisory build | 2.20.11-0ubuntu27.28 | USN-7545-1 |
| Ubuntu | jammy | apport | Advisory build | 2.20.11-0ubuntu82.7 | USN-7545-1 |
| Ubuntu | noble | apport | Advisory build | 2.28.1-0ubuntu3.6 | USN-7545-1 |
| Ubuntu | xenial | apport | Advisory build | 2.20.1-0ubuntu2.30+esm5 | USN-7545-1 |
| Ubuntu | bionic | apport-gtk | Advisory build | 2.20.9-0ubuntu7.29+esm1 | USN-7545-1 |
| Ubuntu | bionic | apport-kde | Advisory build | 2.20.9-0ubuntu7.29+esm1 | USN-7545-1 |
Show 43 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | apport-noui | Advisory build | 2.20.9-0ubuntu7.29+esm1 | USN-7545-1 |
| Ubuntu | bionic | apport-retrace | Advisory build | 2.20.9-0ubuntu7.29+esm1 | USN-7545-1 |
| Ubuntu | bionic | apport-valgrind | Advisory build | 2.20.9-0ubuntu7.29+esm1 | USN-7545-1 |
| Ubuntu | bionic | dh-apport | Advisory build | 2.20.9-0ubuntu7.29+esm1 | USN-7545-1 |
| Ubuntu | bionic | python-apport | Advisory build | 2.20.9-0ubuntu7.29+esm1 | USN-7545-1 |
| Ubuntu | bionic | python-problem-report | Advisory build | 2.20.9-0ubuntu7.29+esm1 | USN-7545-1 |
| Ubuntu | bionic | python3-apport | Advisory build | 2.20.9-0ubuntu7.29+esm1 | USN-7545-1 |
| Ubuntu | bionic | python3-problem-report | Advisory build | 2.20.9-0ubuntu7.29+esm1 | USN-7545-1 |
| Ubuntu | focal | apport-gtk | Advisory build | 2.20.11-0ubuntu27.28 | USN-7545-1 |
| Ubuntu | focal | apport-kde | Advisory build | 2.20.11-0ubuntu27.28 | USN-7545-1 |
| Ubuntu | focal | apport-noui | Advisory build | 2.20.11-0ubuntu27.28 | USN-7545-1 |
| Ubuntu | focal | apport-retrace | Advisory build | 2.20.11-0ubuntu27.28 | USN-7545-1 |
| Ubuntu | focal | apport-valgrind | Advisory build | 2.20.11-0ubuntu27.28 | USN-7545-1 |
| Ubuntu | focal | dh-apport | Advisory build | 2.20.11-0ubuntu27.28 | USN-7545-1 |
| Ubuntu | focal | python3-apport | Advisory build | 2.20.11-0ubuntu27.28 | USN-7545-1 |
| Ubuntu | focal | python3-problem-report | Advisory build | 2.20.11-0ubuntu27.28 | USN-7545-1 |
| Ubuntu | jammy | apport-gtk | Advisory build | 2.20.11-0ubuntu82.7 | USN-7545-1 |
| Ubuntu | jammy | apport-kde | Advisory build | 2.20.11-0ubuntu82.7 | USN-7545-1 |
| Ubuntu | jammy | apport-noui | Advisory build | 2.20.11-0ubuntu82.7 | USN-7545-1 |
| Ubuntu | jammy | apport-retrace | Advisory build | 2.20.11-0ubuntu82.7 | USN-7545-1 |
| Ubuntu | jammy | apport-valgrind | Advisory build | 2.20.11-0ubuntu82.7 | USN-7545-1 |
| Ubuntu | jammy | dh-apport | Advisory build | 2.20.11-0ubuntu82.7 | USN-7545-1 |
| Ubuntu | jammy | python3-apport | Advisory build | 2.20.11-0ubuntu82.7 | USN-7545-1 |
| Ubuntu | jammy | python3-problem-report | Advisory build | 2.20.11-0ubuntu82.7 | USN-7545-1 |
| Ubuntu | noble | apport-core-dump-handler | Advisory build | 2.28.1-0ubuntu3.6 | USN-7545-1 |
| Ubuntu | noble | apport-gtk | Advisory build | 2.28.1-0ubuntu3.6 | USN-7545-1 |
| Ubuntu | noble | apport-kde | Advisory build | 2.28.1-0ubuntu3.6 | USN-7545-1 |
| Ubuntu | noble | apport-noui | Advisory build | 2.28.1-0ubuntu3.6 | USN-7545-1 |
| Ubuntu | noble | apport-retrace | Advisory build | 2.28.1-0ubuntu3.6 | USN-7545-1 |
| Ubuntu | noble | apport-valgrind | Advisory build | 2.28.1-0ubuntu3.6 | USN-7545-1 |
| Ubuntu | noble | dh-apport | Advisory build | 2.28.1-0ubuntu3.6 | USN-7545-1 |
| Ubuntu | noble | python3-apport | Advisory build | 2.28.1-0ubuntu3.6 | USN-7545-1 |
| Ubuntu | noble | python3-problem-report | Advisory build | 2.28.1-0ubuntu3.6 | USN-7545-1 |
| Ubuntu | xenial | apport-gtk | Advisory build | 2.20.1-0ubuntu2.30+esm5 | USN-7545-1 |
| Ubuntu | xenial | apport-kde | Advisory build | 2.20.1-0ubuntu2.30+esm5 | USN-7545-1 |
| Ubuntu | xenial | apport-noui | Advisory build | 2.20.1-0ubuntu2.30+esm5 | USN-7545-1 |
| Ubuntu | xenial | apport-retrace | Advisory build | 2.20.1-0ubuntu2.30+esm5 | USN-7545-1 |
| Ubuntu | xenial | apport-valgrind | Advisory build | 2.20.1-0ubuntu2.30+esm5 | USN-7545-1 |
| Ubuntu | xenial | dh-apport | Advisory build | 2.20.1-0ubuntu2.30+esm5 | USN-7545-1 |
| Ubuntu | xenial | python-apport | Advisory build | 2.20.1-0ubuntu2.30+esm5 | USN-7545-1 |
| Ubuntu | xenial | python-problem-report | Advisory build | 2.20.1-0ubuntu2.30+esm5 | USN-7545-1 |
| Ubuntu | xenial | python3-apport | Advisory build | 2.20.1-0ubuntu2.30+esm5 | USN-7545-1 |
| Ubuntu | xenial | python3-problem-report | Advisory build | 2.20.1-0ubuntu2.30+esm5 | USN-7545-1 |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | Apport | 2.20.1 to < 2.20.1-0ubuntu2.30+esm5 (affected · dpkg)2.20.9 to < 2.20.9-0ubuntu7.29+esm1 (affected · dpkg)2.20.11 to < 2.20.11-0ubuntu27.28 (affected · dpkg)2.20.11 to < 2.20.11-0ubuntu82.7 (affected · dpkg)2.28.1 to < 2.28.1-0ubuntu3.6 (affected · dpkg)2.30.0 to < 2.30.0-0ubuntu4.3 (affected · dpkg)2.32.0 to < 2.32.0-0ubuntu5.1 (affected · dpkg)2.32.0 to < 2.33.0-0ubuntu1 (affected · dpkg)2.20 through 2.32.0 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
4Provider assertions
3canonical · cna
Race Condition in Canonical Apport
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8ce2a29ebff4b53f94969ea620b6bbd1f4fe453e17af0ce93ccba343780942e9
- Ingested
- 23 Sep 2026, 08:54:33 UTC
- Source record
- Official CVE record