Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2024-9902
November 06, 2024
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.
Affected Packages
ansible-core (PYTHON):
Affected version(s) >=2.16.0b1 <2.16.13rc1
Fix Suggestion:
Update to version 2.16.13rc1
ansible-core (PYTHON):
Affected version(s) >=2.17.0b1 <2.17.6rc1
Fix Suggestion:
Update to version 2.17.6rc1
ansible-core (PYTHON):
Affected version(s) >=2.18.0b1 <2.18.0rc2
Fix Suggestion:
Update to version 2.18.0rc2
ansible-core (PYTHON):
Affected version(s) >=2.15.0b1 <2.15.13rc1
Fix Suggestion:
Update to version 2.15.13rc1
ansible-core (PYTHON):
Affected version(s) >=0.0.1a1 <2.14.18rc1
Fix Suggestion:
Update to version 2.14.18rc1
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.3
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.3
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Incorrect Authorization
EPSS
Base Score:
0.03