{"id":"CVE-2025-5054","aliases":["CVE-2025-5054"],"related":[],"kind":"vulnerability","state":"published","title":"Race Condition in Canonical Apport","summary":"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.\n\n\n\n\nWhen 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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\n\n\n\nWhen 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).","source":"cvelist"},{"lang":"es","text":"La condición de ejecución en Canonical Apport (hasta la versión 2.32.0 incluida) permite a un atacante local filtrar información confidencial mediante la reutilización de PID aprovechando los espacios de nombres. Al gestionar un fallo, la función `_check_global_pid_and_forward`, que detecta si el proceso causante del fallo reside en un contenedor, se invocaba antes que `consistency_checks`, que intenta detectar si el proceso causante del fallo ha sido reemplazado. Por ello, si un proceso falla y se reemplaza rápidamente por uno contenedorizado, se podía ejecutar `apport` para reenviar el volcado de memoria al contenedor, lo que podría filtrar información confidencial. `consistency_checks` ahora se invoca antes que `_check_global_pid_and_forward`. Además, dado que la condición de ejecución de reutilización de PID no se puede detectar de forma fiable solo desde el espacio de usuario, los fallos solo se reenvían a los contenedores si el núcleo proporcionó un pidfd o si el proceso causante del fallo no tenía privilegios (es decir, si el modo de volcado es 1).","source":"nvd"}],"published":"2025-05-30T17:37:01.006Z","modified":"2026-06-17T09:47:06.343Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"dpkg","introduced":"2.20.1","fixed":"2.20.1-0ubuntu2.30+esm5","status":"affected"},{"type":"dpkg","introduced":"2.20.9","fixed":"2.20.9-0ubuntu7.29+esm1","status":"affected"},{"type":"dpkg","introduced":"2.20.11","fixed":"2.20.11-0ubuntu27.28","status":"affected"},{"type":"dpkg","introduced":"2.20.11","fixed":"2.20.11-0ubuntu82.7","status":"affected"},{"type":"dpkg","introduced":"2.28.1","fixed":"2.28.1-0ubuntu3.6","status":"affected"},{"type":"dpkg","introduced":"2.30.0","fixed":"2.30.0-0ubuntu4.3","status":"affected"},{"type":"dpkg","introduced":"2.32.0","fixed":"2.32.0-0ubuntu5.1","status":"affected"},{"type":"dpkg","introduced":"2.32.0","fixed":"2.33.0-0ubuntu1","status":"affected"},{"type":"semver","introduced":"2.20","lastAffected":"2.32.0","status":"affected"}],"vendor":"Canonical","product":"Apport","package":"apport","repo":"https://git.launchpad.net/apport","platforms":["Linux"],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.32.0"}],"vendor":"canonical","product":"apport","cpe":"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"16.04"},{"status":"affected","version":"18.04"},{"status":"affected","version":"20.04"},{"status":"affected","version":"22.04"},{"status":"affected","version":"24.04"},{"status":"affected","version":"24.10"},{"status":"affected","version":"25.04"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","source":"nvd"}],"references":[{"url":"https://ubuntu.com/security/notices/USN-7545-1","tags":["third-party-advisory","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://ubuntu.com/security/CVE-2025-5054","tags":["third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt","tags":["exploit","mitigation","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"http://seclists.org/fulldisclosure/2025/Jun/9","tags":[],"sources":["cvelist","nvd"]}],"credits":["Qualys Threat Research Unit (TRU)"],"assigner":"canonical","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-05-30T17:59:23.055Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-5054","url":"https://www.cve.org/CVERecord?id=CVE-2025-5054","licence":"CVE Terms of Use","modified":"2025-11-03T20:05:43.609Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-5054","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5054","licence":"Public domain","modified":"2026-06-17T09:47:06.343Z"}],"updatedAt":"2026-11-25T22:58:58.602Z","epss":{"score":0.00784,"percentile":0.57221,"date":"2026-12-01T12:00:22.000Z"}}