Vulnerability Details : CVE-2020-10737
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.
Products affected by CVE-2020-10737
- cpe:2.3:a:redhat:oddjob:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-10737
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 10 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-10737
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.7
|
LOW | AV:L/AC:H/Au:N/C:P/I:P/A:P |
1.9
|
6.4
|
NIST | |
6.3
|
MEDIUM | CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
0.3
|
5.9
|
Red Hat, Inc. | |
6.3
|
MEDIUM | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
0.3
|
5.9
|
NIST |
CWE ids for CVE-2020-10737
-
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.Assigned by:
- nvd@nist.gov (Primary)
- secalert@redhat.com (Secondary)
References for CVE-2020-10737
-
https://pagure.io/oddjob/c/10b8aaa1564b723a005b53acc069df71313f4cac?branch
Commit - oddjob - 10b8aaa1564b723a005b53acc069df71313f4cac - Pagure.ioPatch;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10737
1833042 – (CVE-2020-10737) CVE-2020-10737 oddjob: race condition in oddjob_selinux_mkdir function in mkhomedir.c can lead to symlink attackIssue Tracking;Vendor Advisory
Jump to