PYSEC-2026-1121

ansible-core Incorrect Authorization vulnerability

En bref

Publiée
Mise à jour
CVE
CVE-2024-9902
Alias
GHSA-32p4-gm2c-wmch
CVSS_V3
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
CVSS_V4
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

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.

Paquets affectés

PaquetVersions
PyPI · ansible-coreintroduced 0, fixed 2.14.18rc1, introduced 2.15.0b1, fixed 2.15.13rc1, introduced 2.16.0b1, fixed 2.16.13rc1, introduced 2.17.0b1, fixed 2.17.6rc1, introduced 2.18.0b1, fixed 2.18.0rc2

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database