CVE Database
/

CVE-2024-9902

Back to search

CVE-2024-9902

Published: Nov 6, 2024

Modified: Nov 6, 2025

PUBLISHED

CVSS v3.1

6.3

MEDIUM

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.

VendorProductVersions

Unknown

ansible-core

affected
0 - < 2.14.18rc1
affected
2.15.0b1 - < 2.15.13rc1
affected
2.16.0b1 - < 2.16.13rc1
affected
2.17.0b1 - < 2.17.6rc1
affected
2.18.0b1 - < 2.18.0rc2

Red Hat

Ansible Automation Platform Execution Environments

unaffected
3.0.1-96 - < *

Red Hat

Ansible Automation Platform Execution Environments

unaffected
3.0.1-95 - < *

Red Hat

Ansible Automation Platform Execution Environments

unaffected
2.9.27-32 - < *

Red Hat

Ansible Automation Platform Execution Environments

unaffected
2.14.13-21 - < *

Red Hat

Ansible Automation Platform Execution Environments

unaffected
2.17.6-2 - < *

Red Hat

Red Hat Ansible Automation Platform 2.4 for RHEL 8

unaffected
1:2.15.13-1.el8ap - < *

Red Hat

Red Hat Ansible Automation Platform 2.4 for RHEL 9

unaffected
1:2.15.13-1.el9ap - < *

Red Hat

Red Hat Ansible Automation Platform 2.5 for RHEL 8

unaffected
1:2.16.13-1.el8ap - < *

Red Hat

Red Hat Ansible Automation Platform 2.5 for RHEL 9

unaffected
1:2.16.13-1.el9ap - < *

Red Hat

Red Hat OpenStack Platform 17.1 for RHEL 9

unaffected
0:2.14.2-4.6.el9ost - < *

Red Hat

Red Hat Enterprise Linux 10

All versions

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

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

Attack Vector

Local

Attack Complexity

High

Privileges Required

Low

User Interaction

Required

Scope

Unchanged

Confidentiality

High

Integrity

High

Availability

Low

References

RHSA-2024:10762
vendor-advisory
x_refsource_REDHAT
RHSA-2024:8969
vendor-advisory
x_refsource_REDHAT
RHSA-2024:9894
vendor-advisory
x_refsource_REDHAT
RHSA-2025:1861
vendor-advisory
x_refsource_REDHAT
RHBZ#2318271
issue-tracking
x_refsource_REDHAT

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now