Skip to content

Apport

Race Condition in Canonical Apport

CVE-2025-5054Published 30 May 2025, 17:37 UTC

Real-world risk

1.7/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

4.7

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from canonical)

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).

Am I affected?

ProductAffected versions (from the sources)Fixed in
ApportNiche>= 2.20.1, < 2.20.1-0ubuntu2.30+esm5; >= 2.20.9, < 2.20.9-0ubuntu7.29+esm1; >= 2.20.11, < 2.20.11-0ubuntu27.28; >= 2.20.11, < 2.20.11-0ubuntu82.7; >= 2.28.1, < 2.28.1-0ubuntu3.6; >= 2.30.0, < 2.30.0-0ubuntu4.3; >= 2.32.0, < 2.32.0-0ubuntu5.1; >= 2.32.0, < 2.33.0-0ubuntu1; >= 2.20, <= 2.32.02.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

What to do

Update to a fixed version: 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.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Public proof of concept on GitHub
  • CISA SSVC: proof of concept

EPSS 0.8% chance of exploitation in 30 days (percentile 57), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together0.225
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.8 × prerequisites 0.225 × threat 0.951.710
  4. Rounded to one decimal between 0.1 and 101.7

How the score works

Exploitation and evidence timeline

  1. 30 May 2025 Published
  2. 3 Dec 2026 Public proof of concept on GitHub first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 1.7 (cvss fallback)

Weakness

CWE-362

References

Get alerts for Apport

Free email or text alerts when a vulnerability in Apport reaches risk 8 or higher. Nothing else.