CVE-2024-9902

ansible: A flaw was found in Ansible

CVE-2024-9902 is fixed in 3 products on 1 platform, first by DEBIAN-CVE-2024-9902, released November 6, 2024. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.3
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0025
16th 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.

Where it's fixed

ProductFixed inFixReleased
Linux
ansible · Debian 12.15 (bookworm) 5.4.0-1 DEBIAN-CVE-2024-9902 Nov 6, 2024
ansible · Debian 13.5 (trixie) 5.4.0-1 DEBIAN-CVE-2024-9902 Nov 6, 2024
ansible · Debian 14 5.4.0-1 DEBIAN-CVE-2024-9902 Nov 6, 2024
ansible-core · Debian 12.15 (bookworm) 2.14.18-0+deb12u1 DEBIAN-CVE-2024-9902 Nov 6, 2024
ansible-core · Debian 13.5 (trixie) 2.18.0-1 DEBIAN-CVE-2024-9902 Nov 6, 2024
ansible-core · Debian 14 2.18.0-1 DEBIAN-CVE-2024-9902 Nov 6, 2024
ansible-core · amzn 2023 2.15.3-1.amzn2023.0.11 ALAS2023-2025-918 Mar 26, 2025
ansible-test · amzn 2023 2.15.3-1.amzn2023.0.11 ALAS2023-2025-918 Mar 26, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.