Medium severity · published Nov 6, 2024
CVE-2024-9902
Ansible-core: ansible-core user may read/write unauthorized content
6.3
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
High
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 18% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AA
Ansible Automation Platform Execution Environments · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 2.4 for RHEL 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 2.4 for RHEL 9 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 2.5 for RHEL 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 2.5 for RHEL 9 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat OpenStack Platform 17.1 for RHEL 9 · Red Hat
All versions, or not specified · source: vendor
Affected product
AA
Ansible Automation Platform Execution Environments
Red Hat
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-9902
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-9902
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:10762
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:8969
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:9894
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:1861
access.redhat.com
https://access.redhat.com/security/cve/CVE-2024-9902
bugzilla.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2318271
More from Ansible Automation Platform Execution Environments
5.5
CVE-2024-11079
Ansible-core: unsafe tagging bypass via hostvars object in ansible-core
5.5
CVE-2024-8775
Ansible-core: exposure of sensitive information in ansible vault files due to improper logging
