๐Ÿ” CVE Alert

CVE-2024-9902

MEDIUM 6.3

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

CVSS Score
6.3
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-863
Published Nov 6, 2024
Last Updated Nov 6, 2025
Stay Ahead of the Next One

Get instant alerts for

Be the first to know when new medium vulnerabilities are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

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

Affected Versions

Red Hat / Ansible Automation Platform Execution Environments
All versions affected
Red Hat / Ansible Automation Platform Execution Environments
All versions affected
Red Hat / Ansible Automation Platform Execution Environments
All versions affected
Red Hat / Ansible Automation Platform Execution Environments
All versions affected
Red Hat / Ansible Automation Platform Execution Environments
All versions affected
Red Hat / Red Hat Ansible Automation Platform 2.4 for RHEL 8
All versions affected
Red Hat / Red Hat Ansible Automation Platform 2.4 for RHEL 9
All versions affected
Red Hat / Red Hat Ansible Automation Platform 2.5 for RHEL 8
All versions affected
Red Hat / Red Hat Ansible Automation Platform 2.5 for RHEL 9
All versions affected
Red Hat / Red Hat OpenStack Platform 17.1 for RHEL 9
All versions affected
Red Hat / Red Hat Enterprise Linux 10
All versions affected

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
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 lists.debian.org: https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html

Credits

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