Loading HuntDB...

GHSA-32p4-gm2c-wmch

GitHub Security Advisory

ansible-core Incorrect Authorization vulnerability

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

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.

Affected Packages

PyPI ansible-core
Affected versions: 0 (fixed in 2.14.18rc1)
PyPI ansible-core
Affected versions: 2.15.0b1 (fixed in 2.15.13rc1)
PyPI ansible-core
Affected versions: 2.16.0b1 (fixed in 2.16.13rc1)
PyPI ansible-core
Affected versions: 2.17.0b1 (fixed in 2.17.6rc1)
PyPI ansible-core
Affected versions: 2.18.0b1 (fixed in 2.18.0rc2)

Related CVEs

Key Information

GHSA ID
GHSA-32p4-gm2c-wmch
Published
November 6, 2024 12:31 PM
Last Modified
February 25, 2025 9:45 PM
CVSS Score
5.0 /10
Primary Ecosystem
PyPI
Primary Package
ansible-core
GitHub Reviewed
✓ Yes

Dataset

Last updated: June 18, 2025 6:25 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.