CVSS 3.1
6.3 mediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:LMedium (6.3). EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in ansible-core 2.14.18rc1, 2.15.13rc1, 2.16.13rc1.
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:Lansible-core (PyPI): fixed in 2.14.18rc1, 2.15.13rc1, 2.16.13rc1, 2.17.6rc1, 2.18.0rc2Explain CVE-2024-9902 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-9902?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-9902?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-9902 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Fixed in |
|---|---|
| Red Hat Ansible Automation Platform Execution Environments | 1.2.0-91 |
| Red Hat Ansible Automation Platform Execution Environments | 3.0.1-95 |
| Red Hat Ansible Automation Platform Execution Environments | 2.9.27-32 |
| Red Hat Ansible Automation Platform Execution Environments | 2.12.10-54 |
| Red Hat Ansible Automation Platform Execution Environments | 2.15.12-17 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | 1:2.15.13-1.el8ap |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | 1:2.15.13-1.el9ap |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | 1:2.16.13-1.el8ap |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | 1:2.16.13-1.el9ap |
| Red Hat OpenStack Platform 17.1 for RHEL 9 | 0:2.14.2-4.6.el9ost |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-32p4-gm2c-wmch | PyPI | ansible-core | <2.14.18rc1 | 2.14.18rc1 |
| GHSA-32p4-gm2c-wmch | PyPI | ansible-core | >=2.15.0b1 <2.15.13rc1 | 2.15.13rc1 |
| GHSA-32p4-gm2c-wmch | PyPI | ansible-core | >=2.16.0b1 <2.16.13rc1 | 2.16.13rc1 |
| GHSA-32p4-gm2c-wmch | PyPI | ansible-core | >=2.17.0b1 <2.17.6rc1 | 2.17.6rc1 |
| GHSA-32p4-gm2c-wmch | PyPI | ansible-core | >=2.18.0b1 <2.18.0rc2 | 2.18.0rc2 |
| PYSEC-2026-1121 | 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 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | ansible | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2 | DLA-3963-1 |
| Debian | 12 | ansible-core | 2.14.18-0+deb12u1 | DEBIAN-CVE-2024-9902 |
| Debian | 12, 13, 14 | ansible | 5.4.0-1 | DEBIAN-CVE-2024-9902 |
| Debian | 13, 14 | ansible-core | 2.18.0-1 | DEBIAN-CVE-2024-9902 |
| Ubuntu | 22.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2024-9902 |
| Ubuntu | 24.04:LTS, 25.10, 26.04:LTS and 1 more | ansible, ansible-core | no fix listed | UBUNTU-CVE-2024-9902 |
| Ubuntu | Pro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 2 more | ansible | no fix listed | UBUNTU-CVE-2024-9902 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-controller-venv-tower | 0:4.5.13-1.el8ap | RHSA-2024:10762 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | ansible-core | 1:2.15.13-1.el8ap | RHSA-2024:10762 |
| Red Hat | ansible_automation_platform:2.4::el9 | automation-controller-venv-tower | 0:4.5.13-1.el9ap | RHSA-2024:10762 |
| Red Hat | ansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9 | ansible-core | 1:2.15.13-1.el9ap | RHSA-2024:10762 |
| Red Hat | ansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8 | ansible-core | 1:2.16.13-1.el8ap | RHSA-2024:9894 |
| Red Hat | ansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9, ansible_automation_platform_inside:2.5::el9 | ansible-core | 1:2.16.13-1.el9ap | RHSA-2024:9894 |
| Red Hat | openstack:17.1::el9 | openstack-ansible-core | 0:2.14.2-4.6.el9ost | RHSA-2025:1861 |
| openSUSE | Tumbleweed | ansible-core | 2.17.6-1.1 | openSUSE-SU-2024:14498-1 |
| openSUSE | Tumbleweed | ansible-core-2.16 | 2.16.13-1.1 | openSUSE-SU-2024:14499-1 |
| openSUSE | Tumbleweed | ansible-core-2.17 | 2.17.6-1.1 | openSUSE-SU-2024:14537-1 |
| openSUSE | Tumbleweed | ansible-core-2.18 | 2.18.10-2.1 | openSUSE-SU-2025:15638-1 |
| openSUSE | Tumbleweed | ansible-core-2.19 | 2.19.4-1.1 | openSUSE-SU-2025:15754-1 |
| openSUSE | Tumbleweed | ansible-core-2.20 | 2.20.6-1.1 | openSUSE-SU-2026:10945-1 |
| openSUSE | Tumbleweed | ansible-core-2.21 | 2.21.6-1.1 | openSUSE-SU-2026:12451-1 |
| Azure Linux | 2 | ansible | 2.14.18-1 | AZL-52384 |
| Azure Linux | 3 | ansible | 2.17.11-1 | AZL-52417 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.
Red Hat rates this Moderate.
In the play that uses the user module with the key generation option,
have a prior task ensuring the public key does not exist for example:
- name: avoid user exploit (change name depending on other options
used in user task)
file: path=/home/{{username}}/.ssh/id_rsa.pub state=absent
| Product | Package | State | Advisory |
|---|---|---|---|
| Ansible Automation Platform Execution Environments | ansible-automation-platform/ansible-builder-rhel8:1.2.0-91 | Fixed 2024-11-06 | RHSA-2024:8969 |
| Ansible Automation Platform Execution Environments | ansible-automation-platform/ansible-builder-rhel9:3.0.1-95 | Fixed 2024-11-06 | RHSA-2024:8969 |
| Ansible Automation Platform Execution Environments | ansible-automation-platform/ee-29-rhel8:2.9.27-32 | Fixed 2024-11-06 | RHSA-2024:8969 |
| Ansible Automation Platform Execution Environments | ansible-automation-platform/ee-minimal-rhel8:2.12.10-54 | Fixed 2024-11-06 | RHSA-2024:8969 |
| Ansible Automation Platform Execution Environments | ansible-automation-platform/ee-minimal-rhel9:2.15.12-17 | Fixed 2024-11-06 | RHSA-2024:8969 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | ansible-core-1:2.15.13-1.el8ap | Fixed 2024-12-03 | RHSA-2024:10762 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | ansible-core-1:2.15.13-1.el9ap | Fixed 2024-12-03 | RHSA-2024:10762 |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | ansible-core-1:2.16.13-1.el8ap | Fixed 2024-11-18 | RHSA-2024:9894 |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | ansible-core-1:2.16.13-1.el9ap | Fixed 2024-11-18 | RHSA-2024:9894 |
| Red Hat OpenStack Platform 17.1 for RHEL 9 | openstack-ansible-core-0:2.14.2-4.6.el9ost | Fixed 2025-02-25 | RHSA-2025:1861 |
| Red Hat Enterprise Linux 10 | ansible-core | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-9902.