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.
CVSS Details
- CVSS 3.1 Base Score: 6.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | alma-upgrade-oddjobalma-upgrade-oddjob-mkhomedir | May 4, 2022 | May 27, 2020 | |
| Centos_linux | — | centos-upgrade-oddjobcentos-upgrade-oddjob-debuginfocentos-upgrade-oddjob-debugsourcecentos-upgrade-oddjob-mkhomedircentos-upgrade-oddjob-mkhomedir-debuginfo | Nov 5, 2020 | May 27, 2020 |
| Debian | debian-upgrade-oddjob | Jul 30, 2024 | May 27, 2020 | |
| Huawei Euleros 2_0_sp2 | huawei-euleros-2_0_sp2-upgrade-oddjobhuawei-euleros-2_0_sp2-upgrade-oddjob-mkhomedir | Feb 22, 2021 | May 27, 2020 | |
| Huawei Euleros 2_0_sp3 | huawei-euleros-2_0_sp3-upgrade-oddjobhuawei-euleros-2_0_sp3-upgrade-oddjob-mkhomedir | Sep 28, 2020 | May 27, 2020 | |
| Huawei Euleros 2_0_sp5 | huawei-euleros-2_0_sp5-upgrade-oddjobhuawei-euleros-2_0_sp5-upgrade-oddjob-mkhomedir | Nov 2, 2020 | May 27, 2020 | |
| Huawei Euleros 2_0_sp8 | huawei-euleros-2_0_sp8-upgrade-oddjobhuawei-euleros-2_0_sp8-upgrade-oddjob-mkhomedir | Dec 15, 2020 | May 27, 2020 | |
| Oracle_linux | — | oracle-linux-upgrade-oddjoboracle-linux-upgrade-oddjob-mkhomedir | Nov 12, 2020 | May 7, 2020 |
| Redhat_linux | redhat-upgrade-oddjobredhat-upgrade-oddjob-debuginforedhat-upgrade-oddjob-debugsourceredhat-upgrade-oddjob-mkhomedirredhat-upgrade-oddjob-mkhomedir-debuginfo | Nov 5, 2020 | May 27, 2020 | |
| Ubuntu | ubuntu-pro-upgrade-oddjobubuntu-pro-upgrade-oddjob-mkhomedir | Mar 22, 2023 | May 27, 2020 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub