vulnerability
Red Hat: CVE-2020-10737: CVE-2020-10737 oddjob: race condition in oddjob_selinux_mkdir function in mkhomedir.c can lead to symlink attack (Multiple Advisories)
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
4 | (AV:L/AC:H/Au:N/C:P/I:P/A:P) | May 27, 2020 | Nov 5, 2020 | Jul 9, 2025 |
Severity
4
CVSS
(AV:L/AC:H/Au:N/C:P/I:P/A:P)
Published
May 27, 2020
Added
Nov 5, 2020
Modified
Jul 9, 2025
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.
Solution(s)
no-fix-redhat-rpm-packageredhat-upgrade-oddjobredhat-upgrade-oddjob-debuginforedhat-upgrade-oddjob-debugsourceredhat-upgrade-oddjob-mkhomedirredhat-upgrade-oddjob-mkhomedir-debuginfo
References

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.