Auth bypass in Red Hat Ansible Automation Platform Execution Environments
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L.
EPSS exploit prediction
EPSS: 0.003 (15.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 16th percentile — 15.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Red Hat Ansible Automation Platform Execution Environments — versions 3.0.1-96, 3.0.1-95, 2.9.27-32
- Red Hat Ansible Automation Platform 2.4 For Rhel 8 — versions 1:2.15.13-1.el8ap
- Red Hat Ansible Automation Platform 2.4 For Rhel 9 — versions 1:2.15.13-1.el9ap
- Red Hat Ansible Automation Platform 2.5 For Rhel 8 — versions 1:2.16.13-1.el8ap
- Red Hat Ansible Automation Platform 2.5 For Rhel 9 — versions 1:2.16.13-1.el9ap
- Red Hat Enterprise Linux 10
- Red Hat OpenStack Platform 17.1 For Rhel 9 — versions 0:2.14.2-4.6.el9ost
Weakness classification (CWE)
Public proof-of-concept exploits
References
- access.redhat.com/errata/RHSA-2024:10762 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:8969 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:9894 (vendor-advisory)
- access.redhat.com/errata/RHSA-2025:1861 (vendor-advisory)
- access.redhat.com/security/cve/CVE-2024-9902 (vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2024-9902?
- CVE-2024-9902 is a medium-severity vulnerability in Red Hat Ansible Automation Platform Execution Environments, classified under Incorrect Authorization. CVSS score: 6.3/10. Published 2024-11-06.
- How severe is CVE-2024-9902?
- Medium severity. CVSS v3 base score is 6.3 out of 10.
- Is CVE-2024-9902 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.