CVE-2024-9902

Medium

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.

SeverityMedium
CVSS6.3
Exploit probability—
ProductAnsible-core
PublishedNov 6, 2024
First seenNov 6, 2024

How to fix

Affected products

ProductAffected versionsFixed in
ansible-corePyPIv < 2.14.18rc1, 2.15.0b1 ≤ v < 2.15.13rc1, 2.16.0b1 ≤ v < 2.16.13rc1, 2.17.0b1 ≤ v < 2.17.6rc1, 2.18.0b1 ≤ v < 2.18.0rc22.14.18rc1, 2.15.13rc1, 2.16.13rc1, 2.17.6rc1, 2.18.0rc2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.