CVE-2024-9902
published medium CVSS 3.1 · 6.3Ansible-core: ansible-core user may read/write unauthorized content
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | ansible-core0 to < 2.14.18rc1 · 2.15.0b1 to < 2.15.13rc1 · 2.16.0b1 to < 2.16.13rc1 · 2.17.0b1 to < 2.17.6rc1 · 2.18.0b1 to < 2.18.0rc2 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform/ansible-builder-rhel8Ansible Automation Platform Execution Environments · 1.2.0-91 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform/ansible-builder-rhel9Ansible Automation Platform Execution Environments · 3.0.1-95 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform/ee-29-rhel8Ansible Automation Platform Execution Environments · 2.9.27-32 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-918 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-coreaarch64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14498-1 |
| Debian | bullseye | ansible | Advisory build | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2 | DLA-3963-1 |
| Amazon Linux | AL2023 | ansible-coreaarch64 | Listed in advisory | Not stated | ALAS2023-2025-918 |
Show 73 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel8Ansible Automation Platform Execution Environments · 2.12.10-54 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel9Ansible Automation Platform Execution Environments · 2.15.12-17 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 8 · 1:2.15.13-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 8 · 1:2.15.13-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 8 · 1:2.15.13-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 9 · 1:2.15.13-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 9 · 1:2.15.13-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.4 for RHEL 9 · 1:2.15.13-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.5 for RHEL 8 · 1:2.16.13-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.5 for RHEL 8 · 1:2.16.13-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.5 for RHEL 8 · 1:2.16.13-1.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.5 for RHEL 9 · 1:2.16.13-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.5 for RHEL 9 · 1:2.16.13-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-coreRed Hat Ansible Automation Platform 2.5 for RHEL 9 · 1:2.16.13-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openstack-ansible-coreRed Hat OpenStack Platform 17.1 for RHEL 9 · 0:2.14.2-4.6.el9ost and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 10 | ansible-core | Unaffected | Not required | redhat |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-coreppc64le | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-cores390x | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-corex86_64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.16aarch64 | Advisory build | 2.16.13-1.1 | OPENSUSE-SU-2024:14499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.16ppc64le | Advisory build | 2.16.13-1.1 | OPENSUSE-SU-2024:14499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.16s390x | Advisory build | 2.16.13-1.1 | OPENSUSE-SU-2024:14499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.16x86_64 | Advisory build | 2.16.13-1.1 | OPENSUSE-SU-2024:14499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.17aarch64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.17ppc64le | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.17s390x | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.17x86_64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.18aarch64 | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.18ppc64le | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.18s390x | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.18x86_64 | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.19aarch64 | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.19ppc64le | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.19s390x | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.19x86_64 | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.20aarch64 | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.20ppc64le | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.20s390x | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.20x86_64 | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.21aarch64 | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.21ppc64le | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.21s390x | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-core-2.21x86_64 | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testaarch64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testppc64le | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-tests390x | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testx86_64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.16aarch64 | Advisory build | 2.16.13-1.1 | OPENSUSE-SU-2024:14499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.16ppc64le | Advisory build | 2.16.13-1.1 | OPENSUSE-SU-2024:14499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.16s390x | Advisory build | 2.16.13-1.1 | OPENSUSE-SU-2024:14499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.16x86_64 | Advisory build | 2.16.13-1.1 | OPENSUSE-SU-2024:14499-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.17aarch64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.17ppc64le | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.17s390x | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.17x86_64 | Advisory build | 2.17.6-1.1 | OPENSUSE-SU-2024:14537-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.18aarch64 | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.18ppc64le | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.18s390x | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.18x86_64 | Advisory build | 2.18.10-2.1 | OPENSUSE-SU-2025:15638-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.19aarch64 | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.19ppc64le | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.19s390x | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.19x86_64 | Advisory build | 2.19.4-1.1 | OPENSUSE-SU-2025:15754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.20aarch64 | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.20ppc64le | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.20s390x | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.20x86_64 | Advisory build | 2.20.6-1.1 | OPENSUSE-SU-2026:10945-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.21aarch64 | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.21ppc64le | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.21s390x | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-test-2.21x86_64 | Advisory build | 2.21.6-1.1 | OPENSUSE-SU-2026:12451-1 |
| Amazon Linux | AL2023 | ansible-coresrc | Listed in advisory | Not stated | ALAS2023-2025-918 |
| Amazon Linux | AL2023 | ansible-corex86_64 | Listed in advisory | Not stated | ALAS2023-2025-918 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ansible-core | 0 to < 2.14.18rc1 (affected · custom)2.15.0b1 to < 2.15.13rc1 (affected · custom)2.16.0b1 to < 2.16.13rc1 (affected · custom)2.17.0b1 to < 2.17.6rc1 (affected · custom)2.18.0b1 to < 2.18.0rc2 (affected · custom)Default: unaffected | redhat · cna | |
| Red Hat | Ansible Automation Platform Execution Environments | 1.2.0-91 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Ansible Automation Platform Execution Environments | 3.0.1-95 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Ansible Automation Platform Execution Environments | 2.9.27-32 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Ansible Automation Platform Execution Environments | 2.12.10-54 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Ansible Automation Platform Execution Environments | 2.15.12-17 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | 1:2.15.13-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | 1:2.15.13-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 8 | 1:2.15.13-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | 1:2.15.13-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | 1:2.15.13-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.4 for RHEL 9 | 1:2.15.13-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | 1:2.16.13-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | 1:2.16.13-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | 1:2.16.13-1.el8ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | 1:2.16.13-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | 1:2.16.13-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | 1:2.16.13-1.el9ap and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat OpenStack Platform 17.1 for RHEL 9 | 0:2.14.2-4.6.el9ost and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-863 Incorrect Authorization
References
7- RHSA-2024:10762 https://access.redhat.com/errata/RHSA-2024:10762
- RHSA-2024:8969 https://access.redhat.com/errata/RHSA-2024:8969
- RHSA-2024:9894 https://access.redhat.com/errata/RHSA-2024:9894
- RHSA-2025:1861 https://access.redhat.com/errata/RHSA-2025:1861
- https://access.redhat.com/security/cve/CVE-2024-9902
- RHBZ#2318271 https://bugzilla.redhat.com/show_bug.cgi?id=2318271
- https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html
Provider assertions
3redhat · cna
Ansible-core: ansible-core user may read/write unauthorized content
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5ccdbd36604731058439ff5dfd45b55ed77fffc61355357e24d4c21839ae57dc
- Ingested
- 24 Nov 2026, 06:28:17 UTC
- Source record
- Official CVE record