We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-9902

Ansible-core: ansible-core user may read/write unauthorized content



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.

Reserved 2024-10-12 | Published 2024-11-06 | Updated 2024-12-03 | Assigner redhat


MEDIUM: 6.3CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

Problem types

Incorrect Authorization

Product status

Default status
affected

1.2.0-91 before *
unaffected

Default status
affected

3.0.1-95 before *
unaffected

Default status
affected

2.9.27-32 before *
unaffected

Default status
affected

2.17.6-1 before *
unaffected

Default status
affected

2.17.6-2 before *
unaffected

Default status
affected

1:2.15.13-1.el8ap before *
unaffected

Default status
affected

1:2.15.13-1.el9ap before *
unaffected

Default status
affected

1:2.16.13-1.el8ap before *
unaffected

Default status
affected

1:2.16.13-1.el9ap before *
unaffected

Default status
affected

Timeline

2024-10-12:Reported to Red Hat.
2024-11-06:Made public.

Credits

Red Hat would like to thank Matt Clay for reporting this issue.

References

access.redhat.com/errata/RHSA-2024:10762 (RHSA-2024:10762) vendor-advisory

access.redhat.com/errata/RHSA-2024:8969 (RHSA-2024:8969) vendor-advisory

access.redhat.com/errata/RHSA-2024:9894 (RHSA-2024:9894) vendor-advisory

access.redhat.com/security/cve/CVE-2024-9902 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2318271 (RHBZ#2318271) issue-tracking

cve.org (CVE-2024-9902)

nvd.nist.gov (CVE-2024-9902)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-9902

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.