CVE-2024-9902
A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
- Puntuación base: 6.3
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.26%
- Percentil entre todas las CVEs puntuadas: 16
- 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 (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
CWE
- CWE-863
Referencias
- https://access.redhat.com/errata/RHSA-2024:10762
- https://access.redhat.com/errata/RHSA-2024:8969
- https://access.redhat.com/errata/RHSA-2024:9894
- https://access.redhat.com/errata/RHSA-2025:1861
- https://access.redhat.com/security/cve/CVE-2024-9902
- https://bugzilla.redhat.com/show_bug.cgi?id=2318271
- https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html
JSON original (NVD)
Mostrar
{
"id": "CVE-2024-9902",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2024-9902",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2024-11-06T14:20:56.915379Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "secalert@redhat.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 6.3,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "HIGH",
"availabilityImpact": "LOW",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.5,
"exploitabilityScore": 0.8
}
]
},
"affected": [
{
"source": "secalert@redhat.com",
"affectedData": [
{
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "2.14.18rc1",
"versionType": "custom"
},
{
"status": "affected",
"version": "2.15.0b1",
"lessThan": "2.15.13rc1",
"versionType": "custom"
},
{
"status": "affected",
"version": "2.16.0b1",
"lessThan": "2.16.13rc1",
"versionType": "custom"
},
{
"status": "affected",
"version": "2.17.0b1",
"lessThan": "2.17.6rc1",
"versionType": "custom"
},
{
"status": "affected",
"version": "2.18.0b1",
"lessThan": "2.18.0rc2",
"versionType": "custom"
}
],
"packageName": "ansible-core",
"collectionURL": "https://github.com/ansible/ansible",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:ansible_core:2::el9",
"cpe:/a:redhat:ansible_core:2::el8"
],
"vendor": "Red Hat",
"product": "Ansible Automation Platform Execution Environments",
"versions": [
{
"status": "unaffected",
"version": "3.0.1-96",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "ansible-automation-platform/ansible-builder-rhel8",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:ansible_core:2::el9",
"cpe:/a:redhat:ansible_core:2::el8"
],
"vendor": "Red Hat",
"product": "Ansible Automation Platform Execution Environments",
"versions": [
{
"status": "unaffected",
"version": "3.0.1-95",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "ansible-automation-platform/ansible-builder-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:ansible_core:2::el9",
"cpe:/a:redhat:ansible_core:2::el8"
],
"vendor": "Red Hat",
"product": "Ansible Automation Platform Execution Environments",
"versions": [
{
"status": "unaffected",
"version": "2.9.27-32",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "ansible-automation-platform/ee-29-rhel8",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:ansible_core:2::el9",
"cpe:/a:redhat:ansible_core:2::el8"
],
"vendor": "Red Hat",
"product": "Ansible Automation Platform Execution Environments",
"versions": [
{
"status": "unaffected",
"version": "2.14.13-21",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "ansible-automation-platform/ee-minimal-rhel8",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:ansible_core:2::el9",
"cpe:/a:redhat:ansible_core:2::el8"
],
"vendor": "Red Hat",
"product": "Ansible Automation Platform Execution Environments",
"versions": [
{
"status": "unaffected",
"version": "2.17.6-2",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "ansible-automation-platform/ee-minimal-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:ansible_automation_platform_inside:2.4::el8",
"cpe:/a:redhat:ansible_automation_platform_developer:2.4::el8",
"cpe:/a:redhat:ansible_automation_platform_inside:2.4::el9",
"cpe:/a:redhat:ansible_automation_platform:2.4::el8",
"cpe:/a:redhat:ansible_automation_platform:2.4::el9",
"cpe:/a:redhat:ansible_automation_platform_developer:2.4::el9"
],
"vendor": "Red Hat",
"product": "Red Hat Ansible Automation Platform 2.4 for RHEL 8",
"versions": [
{
"status": "unaffected",
"version": "1:2.15.13-1.el8ap",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "ansible-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:ansible_automation_platform_inside:2.4::el8",
"cpe:/a:redhat:ansible_automation_platform_developer:2.4::el8",
"cpe:/a:redhat:ansible_automation_platform_inside:2.4::el9",
"cpe:/a:redhat:ansible_automation_platform:2.4::el8",
"cpe:/a:redhat:ansible_automation_platform:2.4::el9",
"cpe:/a:redhat:ansible_automation_platform_developer:2.4::el9"
],
"vendor": "Red Hat",
"product": "Red Hat Ansible Automation Platform 2.4 for RHEL 9",
"versions": [
{
"status": "unaffected",
"version": "1:2.15.13-1.el9ap",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "ansible-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:ansible_automation_platform:2.5::el9",
"cpe:/a:redhat:ansible_automation_platform:2.5::el8",
"cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9",
"cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9",
"cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8",
"cpe:/a:redhat:ansible_automation_platform_inside:2.5::el8"
],
"vendor": "Red Hat",
"product": "Red Hat Ansible Automation Platform 2.5 for RHEL 8",
"versions": [
{
"status": "unaffected",
"version": "1:2.16.13-1.el8ap",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "ansible-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:ansible_automation_platform:2.5::el9",
"cpe:/a:redhat:ansible_automation_platform:2.5::el8",
"cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9",
"cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9",
"cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8",
"cpe:/a:redhat:ansible_automation_platform_inside:2.5::el8"
],
"vendor": "Red Hat",
"product": "Red Hat Ansible Automation Platform 2.5 for RHEL 9",
"versions": [
{
"status": "unaffected",
"version": "1:2.16.13-1.el9ap",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "ansible-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:openstack:17.1::el9"
],
"vendor": "Red Hat",
"product": "Red Hat OpenStack Platform 17.1 for RHEL 9",
"versions": [
{
"status": "unaffected",
"version": "0:2.14.2-4.6.el9ost",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "openstack-ansible-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/o:redhat:enterprise_linux:10"
],
"vendor": "Red Hat",
"product": "Red Hat Enterprise Linux 10",
"packageName": "ansible-core",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
}
]
}
],
"published": "2024-11-06T10:15:06.200",
"references": [
{
"url": "https://access.redhat.com/errata/RHSA-2024:10762",
"source": "secalert@redhat.com"
},
{
"url": "https://access.redhat.com/errata/RHSA-2024:8969",
"source": "secalert@redhat.com"
},
{
"url": "https://access.redhat.com/errata/RHSA-2024:9894",
"source": "secalert@redhat.com"
},
{
"url": "https://access.redhat.com/errata/RHSA-2025:1861",
"source": "secalert@redhat.com"
},
{
"url": "https://access.redhat.com/security/cve/CVE-2024-9902",
"source": "secalert@redhat.com"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2318271",
"source": "secalert@redhat.com"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "secalert@redhat.com",
"description": [
{
"lang": "en",
"value": "CWE-863"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner."
},
{
"lang": "es",
"value": "Se encontró una falla en Ansible. El módulo `user` de ansible-core puede permitir que un usuario sin privilegios cree o reemplace silenciosamente el contenido de cualquier archivo en cualquier ruta del sistema y tome posesión de él cuando un usuario privilegiado ejecuta el módulo `user` en el directorio de inicio del usuario sin privilegios. Si el usuario sin privilegios tiene permisos de navegación en el directorio que contiene el archivo de destino explotado, conserva el control total sobre el contenido del archivo como su propietario."
}
],
"lastModified": "2026-06-17T08:25:28.183",
"sourceIdentifier": "secalert@redhat.com"
}