CVE-2024-9902

Aliases:GHSA-32p4-gm2c-wmch
Deferred
Published: 06 Nov 2024, 09:56
Last modified:06 Nov 2025, 23:17

Vulnerability Summary

Overall Risk (default)
medium
25/100
CVSS Score
6.3 MEDIUM
v3.1 (cve.org)
EPSS Score
0.03% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

06 Nov 2024, 09:56
Published
Vulnerability first disclosed
06 Nov 2025, 23:17
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v4.0MEDIUMScore: 5.3CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
  • v3.1MEDIUMScore: 6.3CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

EPSS Trends

Current EPSS score: 0.03% Percentile: 9%

Techniques & Countermeasures

  • CWE-863Incorrect Authorization

    The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Affected Systems

  • PyPIansible-core

    < 2.14.18rc1 | ≥ 2.15.0b1, < 2.15.13rc1 | ≥ 2.16.0b1, < 2.16.13rc1 | ≥ 2.17.0b1, < 2.17.6rc1 | ≥ 2.18.0b1, < 2.18.0rc2

References (14)