Skip to content
OpenAdvisories
Medium · 6.3 CVE-2020-10737 EUVD-2020-3161GHSA-m6xw-hhwx-7qjc

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 h…

Published May 27, 2020 · Updated Aug 4, 2024 · Assigned by redhat

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

VendorProductAffectedFixed
Red Hat oddjob before 0.34.5, before 0.34.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 oddjob 0.34.6-1 —
Debian 13 oddjob 0.34.6-1 —
Debian 12 oddjob 0.34.6-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS oddjob 0.34.4-1ubuntu0.1~esm1 USN-5169-1
Ubuntu Pro 18.04 LTS oddjob 0.34.3-4ubuntu0.1~esm1 USN-5169-1
Ubuntu Pro 16.04 LTS oddjob 0.34.3-2ubuntu0.1~esm1 USN-5169-1
ReleasePackageFixed inAdvisory
RHEL 8 oddjob +1 0.34.5-3.el8 RHSA-2020:4687
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed oddjob 0.34.5-1.9 openSUSE-SU-2024:11109-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 oddjob +1 0.34.5-3.el8 ELSA-2020-4687

Advisories 5

References