CVE-2025-5054

MEDIUM EPSS 24.4%
Published May 30, 20251y ago · Modified Jun 17, 20262w ago
4.7 CVSS 3.1
Medium
Find Similar
Published May 30, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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

CVSS Details

Base Score
4.7
Exploitability
1.0
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector Local
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability None

Threat Intelligence

EPSS Exploit Probability
24.4% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available

Weaknesses 1

CWE-362

Affected Products 8

VendorProductVersionRange
canonicalapport* ≤2.32.0
canonicalubuntu_linux16.04any
canonicalubuntu_linux18.04any
canonicalubuntu_linux20.04any
canonicalubuntu_linux22.04any
canonicalubuntu_linux24.04any
canonicalubuntu_linux24.10any
canonicalubuntu_linux25.04any

References 4

  • seclists.org http://seclists.org/fulldisclosure/2025/Jun/9
  • ubuntu.com https://ubuntu.com/security/CVE-2025-5054
    Third Party Advisory
  • ubuntu.com https://ubuntu.com/security/notices/USN-7545-1
    Third Party Advisory
  • qualys.com https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt
    ExploitMitigationThird Party Advisory

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.