Vulnerability
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.
26 advisories report this vulnerability, across 9 ecosystems.
Advisories
-
ALAS2023-2025-918
Amazon Linux 2023 - ALAS2023-2025-918: Medium priority package update for ansible-core
-
AZL-52384
CVE-2024-9902 affecting package ansible for versions less than 2.14.18-1
-
AZL-52417
CVE-2024-9902 affecting package ansible for versions less than 2.17.11-1
- CGA-ch23-2hxj-x2w4
- CGA-cmq5-mf58-hr23
- CGA-ph45-247h-pqgm
- CGA-pqpm-h5h2-755x
-
DEBIAN-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…
-
DLA-3963-1
ansible - security update
-
GHSA-32p4-gm2c-wmch
ansible-core Incorrect Authorization vulnerability
-
OESA-2024-2510
ansible security update
-
OESA-2024-2511
ansible security update
-
OESA-2024-2512
ansible security update
-
OESA-2024-2513
ansible security update
-
PYSEC-2026-1121
ansible-core Incorrect Authorization vulnerability
-
RHSA-2024:10762
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
-
RHSA-2024:9894
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Release Update
-
RHSA-2025:1861
Red Hat Security Advisory: Red Hat OpenStack Platform 17.1.4 (openstack-ansible-core) security update
-
UBUNTU-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…
-
openSUSE-SU-2024:14498-1
ansible-core-2.17.6-1.1 on GA media
-
openSUSE-SU-2024:14499-1
ansible-core-2.16-2.16.13-1.1 on GA media
-
openSUSE-SU-2024:14537-1
ansible-core-2.17-2.17.6-1.1 on GA media
-
openSUSE-SU-2025:15638-1
ansible-core-2.18-2.18.10-2.1 on GA media
-
openSUSE-SU-2025:15754-1
ansible-core-2.19-2.19.4-1.1 on GA media
-
openSUSE-SU-2026:10945-1
ansible-core-2.20-2.20.6-1.1 on GA media
-
openSUSE-SU-2026:12451-1
ansible-core-2.21-2.21.6-1.1 on GA media
References
- 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