CVE-2024-9902
MEDIUM6.3EPSS 0.03%ansible-core Incorrect Authorization vulnerability
發布日:2024/11/6修改日:2026/2/4
描述
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.
受影響套件(3)
- Debian/ansiblefrom 0, < 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2
- Debian/ansible-corefrom 0, < 2.14.18-0+deb12u1
- PyPI/ansible-corefrom 0, < 2.14.18rc1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |
參考連結(15)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-9902
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-9902
- PATCHhttps://github.com/ansible/ansible
- WEBhttps://access.redhat.com/errata/RHSA-2024:10762
- WEBhttps://access.redhat.com/errata/RHSA-2024:8969
- WEBhttps://access.redhat.com/errata/RHSA-2024:9894
- WEBhttps://access.redhat.com/errata/RHSA-2025:1861
- WEBhttps://access.redhat.com/security/cve/CVE-2024-9902
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2318271
- WEBhttps://github.com/ansible/ansible/commit/03794735d370db98a5ec2ad514fab2b0dd22d6be
- WEBhttps://github.com/ansible/ansible/commit/03daf774d0d80fb7235910ed1c2b4fbcaebdfe65
- WEBhttps://github.com/ansible/ansible/commit/3b6de811abea0a811e03e3029222a7e459922892
- WEBhttps://github.com/ansible/ansible/commit/9d7312f695639e804d2caeb1d0f51c716a9ac7dd
- WEBhttps://github.com/ansible/ansible/commit/f7be90626da3035c697623dcf9c90b7a0bc91c92
- WEBhttps://lists.debian.org/debian-lts-announce/2024/11/msg00021.html