What’s Vulnerable › Vulnerabilities
CVE-2020-10737
- Severity: medium (CVSS 6.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-05-27 · updated 2026-06-17
- Weakness: CWE-362
Description
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.
Affected products
- Red Hat oddjob: before 0.34.5 — fixed in 0.34.5
How to fix
Upgrade to a fixed version: Red Hat oddjob 0.34.5. Check the vendor advisory for mitigations.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10737
- https://pagure.io/oddjob/c/10b8aaa1564b723a005b53acc069df71313f4cac?branch
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10737
- https://pagure.io/oddjob/c/10b8aaa1564b723a005b53acc069df71313f4cac?branch
Get alerted when CVE-2020-10737 or the next vulnerability affects your stack