CVE-2024-9902
MEDIUM 6.3CVSS 3.1Ansible-core: ansible-core user may read/write unauthorized content
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.
- Published
- 6 Nov 2024
- Last modified
- 24 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-863
- Also known as
- GHSA-32p4-gm2c-wmchPYSEC-2026-1121
- Sources
- NVDJSONCVE ListJSONOSV GHSA-32p4-gm2c-wmchJSONOSV PYSEC-2026-1121JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N | |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L |
| CVE List | redhat | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://github.com/ansible/ansible | ansible-core | < 2.14.18rc1; >= 2.15.0b1, < 2.15.13rc1; >= 2.16.0b1, < 2.16.13rc1; >= 2.17.0b1, < 2.17.6rc1; >= 2.18.0b1, < 2.18.0rc2 | 2.14.18rc1, 2.15.13rc1, 2.16.13rc1, 2.17.6rc1, 2.18.0rc2 |
| CVE List | https://catalog.redhat.com/software/containers/ | ansible-automation-platform/ansible-builder-rhel8cpe:/a:redhat:ansible_core:2::el8 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | ansible-automation-platform/ansible-builder-rhel9cpe:/a:redhat:ansible_core:2::el8 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | ansible-automation-platform/ee-29-rhel8cpe:/a:redhat:ansible_core:2::el8 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | ansible-automation-platform/ee-minimal-rhel8cpe:/a:redhat:ansible_core:2::el8 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | ansible-automation-platform/ee-minimal-rhel9cpe:/a:redhat:ansible_core:2::el8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | ansible-corecpe:/a:redhat:ansible_automation_platform:2.4::el8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | ansible-corecpe:/a:redhat:ansible_automation_platform:2.4::el8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | ansible-corecpe:/a:redhat:ansible_automation_platform:2.5::el8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | ansible-corecpe:/a:redhat:ansible_automation_platform:2.5::el8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openstack-ansible-corecpe:/a:redhat:openstack:17.1::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | ansible-corecpe:/o:redhat:enterprise_linux:10 |
||
| OSV | PyPI | ansible-core | < 2.14.18rc1 | 2.14.18rc1 |
| OSV | PyPI | ansible-core | >= 2.15.0b1, < 2.15.13rc1 | 2.15.13rc1 |
| OSV | PyPI | ansible-core | >= 2.16.0b1, < 2.16.13rc1 | 2.16.13rc1 |
| OSV | PyPI | ansible-core | >= 2.17.0b1, < 2.17.6rc1 | 2.17.6rc1 |
| OSV | PyPI | ansible-core | >= 2.18.0b1, < 2.18.0rc2 | 2.18.0rc2 |
| OSV | PyPI | ansible-core | < 2.14.18rc1; >= 2.15.0b1, < 2.15.13rc1; >= 2.16.0b1, < 2.16.13rc1; >= 2.17.0b1, < 2.17.6rc1; >= 2.18.0b1, < 2.18.0rc2 | 2.14.18rc1, 2.15.13rc1, 2.16.13rc1, 2.17.6rc1, 2.18.0rc2 |
References
- https://access.redhat.com/errata/RHSA-2024:10762 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2024:8969 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2024:9894 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2025:1861 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/security/cve/CVE-2024-9902 · vdb-entry, x_refsource_REDHAT, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2318271 · issue-tracking, x_refsource_REDHAT, WEB
- https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-9902 · ADVISORY
- https://github.com/ansible/ansible/commit/03794735d370db98a5ec2ad514fab2b0dd22d6be · WEB
- https://github.com/ansible/ansible/commit/03daf774d0d80fb7235910ed1c2b4fbcaebdfe65 · WEB
- https://github.com/ansible/ansible/commit/3b6de811abea0a811e03e3029222a7e459922892 · WEB
- https://github.com/ansible/ansible/commit/9d7312f695639e804d2caeb1d0f51c716a9ac7dd · WEB
- https://github.com/ansible/ansible/commit/f7be90626da3035c697623dcf9c90b7a0bc91c92 · WEB
- https://github.com/ansible/ansible · PACKAGE
- https://pypi.org/project/ansible-core · PACKAGE
- https://github.com/advisories/GHSA-32p4-gm2c-wmch · ADVISORY
History
- 25 Nov 2026 20:36 UTC · CVE List: first stored (published 6 Nov 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Nov 2024)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 6 Nov 2024)