← Back to CVEs
CVE-2024-9902
MEDIUM6.3
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.
CVE Details
CVSS v3.1 Score6.3
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
Attack VectorLOCAL
ComplexityHIGH
Privileges RequiredLOW
User InteractionREQUIRED
Published11/6/2024
Last Modified11/3/2025
Sourcenvd
Honeypot Sightings0
Weaknesses (CWE)
CWE-863
References
https://access.redhat.com/errata/RHSA-2024:10762(secalert@redhat.com)
https://access.redhat.com/errata/RHSA-2024:8969(secalert@redhat.com)
https://access.redhat.com/errata/RHSA-2024:9894(secalert@redhat.com)
https://access.redhat.com/errata/RHSA-2025:1861(secalert@redhat.com)
https://access.redhat.com/security/cve/CVE-2024-9902(secalert@redhat.com)
https://bugzilla.redhat.com/show_bug.cgi?id=2318271(secalert@redhat.com)
https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.