CVE-2024-9902 - CVE House
Back to Database
Status published Medium CVE-2024-9902

Ansible-core: ansible-core user may read/write unauthorized content

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-9902

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Red Hat would like to thank Matt Clay for reporting this issue.

Affected Vendor

Affected Software

Ansible Automation Platform Execution Environments, Red Hat Ansible Automation Platform 2.4 for RHEL 8, Red Hat Ansible Automation Platform 2.4 for RHEL 9, Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9, Red Hat OpenStack Platform 17.1 for RHEL 9, Red Hat Enterprise Linux 10
Vulnerable Versions:
0, 2.15.0b1, 2.16.0b1, 2.17.0b1, 2.18.0b1, 3.0.1-96, 3.0.1-95, 2.9.27-32, 2.14.13-21, 2.17.6-2, 1:2.15.13-1.el8ap, 1:2.15.13-1.el9ap, 1:2.16.13-1.el8ap, 1:2.16.13-1.el9ap, 0:2.14.2-4.6.el9ost

Timeline

Official Publish: November 6th, 2024
Last Modified: November 6th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

Weaknesses (CWE)