6.3
Medium
CVE-2024-9902 Ansible-core: ansible-core user may read/write unauthorized content
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 3.1 detail
Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:LExploitable with local access to the machine, with an ordinary account and if a user takes an action; an attacker can seriously compromise confidentiality, integrity or availability.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- Interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- Low
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Ansible Automation Platform Execution Environments 2.15 | earliest → < 2.15.12-17 | 2.15.12-17 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | Versions not published | |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | Versions not published | |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | Versions not published | |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | Versions not published | |
| Red Hat OpenStack Platform 17.1 for RHEL 9 | Versions not published | |
| Red Hat Enterprise Linux 10 | Versions not published |
References
- RHSA-2024:10762 access.redhat.com
- RHSA-2024:8969 access.redhat.com
- RHSA-2024:9894 access.redhat.com
- RHSA-2025:1861 access.redhat.com
- access.redhat.com access.redhat.com
- RHBZ#2318271 bugzilla.redhat.com
Timeline
- Published
- Last modified