CVE-2025-5054
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.
Leer descripción completaMostrar menos
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
- Versión: 3.1
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Puntuación base: 4.7
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.76%
- Percentil entre todas las CVEs puntuadas: 54
- Fecha de la puntuación: 5/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (2)
CWE
- CWE-362
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2025-5054",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2025-5054",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-05-30T17:59:23.055492Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security@ubuntu.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 4.7,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 3.6,
"exploitabilityScore": 1
}
]
},
"affected": [
{
"source": "security@ubuntu.com",
"affectedData": [
{
"repo": "https://git.launchpad.net/apport",
"vendor": "Canonical",
"product": "Apport",
"versions": [
{
"status": "affected",
"version": "2.20.1",
"lessThan": "2.20.1-0ubuntu2.30+esm5",
"versionType": "dpkg"
},
{
"status": "affected",
"version": "2.20.9",
"lessThan": "2.20.9-0ubuntu7.29+esm1",
"versionType": "dpkg"
},
{
"status": "affected",
"version": "2.20.11",
"lessThan": "2.20.11-0ubuntu27.28",
"versionType": "dpkg"
},
{
"status": "affected",
"version": "2.20.11",
"lessThan": "2.20.11-0ubuntu82.7",
"versionType": "dpkg"
},
{
"status": "affected",
"version": "2.28.1",
"lessThan": "2.28.1-0ubuntu3.6",
"versionType": "dpkg"
},
{
"status": "affected",
"version": "2.30.0",
"lessThan": "2.30.0-0ubuntu4.3",
"versionType": "dpkg"
},
{
"status": "affected",
"version": "2.32.0",
"lessThan": "2.32.0-0ubuntu5.1",
"versionType": "dpkg"
},
{
"status": "affected",
"version": "2.32.0",
"lessThan": "2.33.0-0ubuntu1",
"versionType": "dpkg"
},
{
"status": "affected",
"version": "2.20",
"versionType": "semver",
"lessThanOrEqual": "2.32.0"
}
],
"platforms": [
"Linux"
],
"packageName": "apport",
"collectionURL": "https://launchpad.net/apport",
"defaultStatus": "unaffected"
}
]
}
],
"published": "2025-05-30T18:15:32.670",
"references": [
{
"url": "https://ubuntu.com/security/CVE-2025-5054",
"tags": [
"Third Party Advisory"
],
"source": "security@ubuntu.com"
},
{
"url": "https://ubuntu.com/security/notices/USN-7545-1",
"tags": [
"Third Party Advisory"
],
"source": "security@ubuntu.com"
},
{
"url": "https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt",
"tags": [
"Exploit",
"Mitigation",
"Third Party Advisory"
],
"source": "security@ubuntu.com"
},
{
"url": "http://seclists.org/fulldisclosure/2025/Jun/9",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "security@ubuntu.com",
"description": [
{
"lang": "en",
"value": "CWE-362"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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)."
},
{
"lang": "es",
"value": "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)."
}
],
"lastModified": "2026-06-17T09:47:06.343",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A2661E14-5C57-45A4-98B9-3ACBECBD57B9",
"versionEndIncluding": "2.32.0"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F7016A2A-8365-4F1A-89A2-7A19F2BCAE5B"
},
{
"criteria": "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"vulnerable": true,
"matchCriteriaId": "23A7C53F-B80F-4E6A-AFA9-58EEA84BE11D"
},
{
"criteria": "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*",
"vulnerable": true,
"matchCriteriaId": "902B8056-9E37-443B-8905-8AA93E2447FB"
},
{
"criteria": "cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:*",
"vulnerable": true,
"matchCriteriaId": "359012F1-2C63-415A-88B8-6726A87830DE"
},
{
"criteria": "cpe:2.3:o:canonical:ubuntu_linux:24.04:*:*:*:lts:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BF90B5A4-6E55-4369-B9D4-E7A061E797D2"
},
{
"criteria": "cpe:2.3:o:canonical:ubuntu_linux:24.10:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DE07EF30-B50E-4054-9918-50EFA416073B"
},
{
"criteria": "cpe:2.3:o:canonical:ubuntu_linux:25.04:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E1AE2209-6CBC-4189-89ED-DA0FF100D77D"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "security@ubuntu.com"
}