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) | 2020-05-27 | 2020-11-05 | 2023-12-15 |
Severity
4
CVSS
(AV:L/AC:H/Au:N/C:P/I:P/A:P)
Published
2020-05-27
Added
2020-11-05
Modified
2023-12-15
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)
redhat-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.