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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=2318271

https://access.redhat.com/security/cve/CVE-2024-9902

https://access.redhat.com/errata/RHSA-2024:8969

Details

Source: Mitre, NVD

Published: 2024-11-06

Updated: 2024-11-06

Risk Information

CVSS v2

Base Score: 5.7

Vector: CVSS2#AV:L/AC:H/Au:S/C:C/I:C/A:P

Severity: Medium

CVSS v3

Base Score: 6.3

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

Severity: Medium