{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-5054","id":"CVE-2025-5054","title":"Race Condition in Canonical Apport","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.\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 repla","descriptionLong":"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).","published":"2025-05-30T17:37:01.006Z","updated":"2026-06-17T09:47:06.343Z","reserved":"2025-05-21T14:00:55.371Z","status":"Modified","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"canonical"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"canonical"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"ubuntu.com"}],"rating":"medium","products":["Canonical Apport"],"affectedProducts":[{"vendor":"Canonical","product":"Apport","defaultStatus":"unaffected","versions":[{"lessThan":"2.20.1-0ubuntu2.30+esm5","status":"affected","version":"2.20.1","versionType":"dpkg"},{"lessThan":"2.20.9-0ubuntu7.29+esm1","status":"affected","version":"2.20.9","versionType":"dpkg"},{"lessThan":"2.20.11-0ubuntu27.28","status":"affected","version":"2.20.11","versionType":"dpkg"},{"lessThan":"2.20.11-0ubuntu82.7","status":"affected","version":"2.20.11","versionType":"dpkg"},{"lessThan":"2.28.1-0ubuntu3.6","status":"affected","version":"2.28.1","versionType":"dpkg"},{"lessThan":"2.30.0-0ubuntu4.3","status":"affected","version":"2.30.0","versionType":"dpkg"},{"lessThan":"2.32.0-0ubuntu5.1","status":"affected","version":"2.32.0","versionType":"dpkg"},{"lessThan":"2.33.0-0ubuntu1","status":"affected","version":"2.32.0","versionType":"dpkg"},{"lessThanOrEqual":"2.32.0","status":"affected","version":"2.20","versionType":"semver"}],"platforms":["Linux"]}],"packages":[],"cwes":["CWE-362"],"aliases":[],"references":[{"url":"https://ubuntu.com/security/notices/USN-7545-1","tags":["vendor-advisory","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-5054","tags":["vdb-entry","Third Party Advisory"]},{"url":"https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt","tags":["third-party-advisory","Exploit","Mitigation","Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2025/Jun/9","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00784,"epssPercentile":0.56813,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-5054","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5054","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-5054","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-5054","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}