CVE-2024-9902
ansible-core Incorrect Authorization vulnerability
6.3
MEDIUM
CVSS 3.1
EPSS 0.03%
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.
How to fix CVE-2024-9902
To remediate CVE-2024-9902, upgrade the affected package to a fixed version below.
- —upgrade to 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2 or later
- —upgrade to 2.14.18-0+deb12u1 or later
- —upgrade to 2.14.18rc1 or later
Is CVE-2024-9902 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2
- from 0, < 2.14.18-0+deb12u1
- from 0, < 2.14.18rc1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L |