cbcvebase.
CVE-2024-9902
published 2024-11-06

CVE-2024-9902: 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…

PriorityP431medium6.3CVSS 3.1
AVLACHPRLUIRSUCHIHAL
EPSS
0.26%
17.0th percentile
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

10 ranges
VendorProductVersion rangeFixed in
debianansible< ansible 5.4.0-1 (bookworm)ansible 5.4.0-1 (bookworm)
debianansible-core< ansible 5.4.0-1 (bookworm)ansible 5.4.0-1 (bookworm)
msrcazl3_ansible_2.17.0-1_on_azure_linux_3.0
msrcazl3_ansible_2.17.11-1_on_azure_linux_3.0
msrccbl2_ansible_2.14.12-2_on_cbl_mariner_2.0
msrccbl2_ansible_2.14.18-1_on_cbl_mariner_2.0
redhatansible>= 0 < 2.10.7+merged+base+2.10.17+dfsg-0+deb11u22.10.7+merged+base+2.10.17+dfsg-0+deb11u2
redhatansible>= 0 < 5.4.0-15.4.0-1
redhatansible>= 0 < 5.4.0-15.4.0-1
redhatansible>= 0 < 5.4.0-15.4.0-1

CVSS provenance

nvdv3.16.3MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
osv6.3MEDIUM
vendor_debian6.3MEDIUM
vendor_msrc6.3MEDIUM
vendor_oracle6.3MEDIUM
vendor_redhat6.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.