A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.
References
Link | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10737 | Issue Tracking Vendor Advisory |
https://pagure.io/oddjob/c/10b8aaa1564b723a005b53acc069df71313f4cac?branch | Patch Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10737 | Issue Tracking Vendor Advisory |
https://pagure.io/oddjob/c/10b8aaa1564b723a005b53acc069df71313f4cac?branch | Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 04:55
Type | Values Removed | Values Added |
---|---|---|
References | () https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10737 - Issue Tracking, Vendor Advisory | |
References | () https://pagure.io/oddjob/c/10b8aaa1564b723a005b53acc069df71313f4cac?branch - Patch, Third Party Advisory |
Information
Published : 2020-05-27 01:15
Updated : 2024-11-21 04:55
NVD link : CVE-2020-10737
Mitre link : CVE-2020-10737
CVE.ORG link : CVE-2020-10737
JSON object : View
Products Affected
redhat
- oddjob
CWE
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')