CVE-2020-10737
published medium CVSS 3.1 · 6.3oddjob: race condition in oddjob_selinux_mkdir function in mkhomedir.c can lead to symlink attack
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | oddjobbefore 0.34.5 · before 0.34.6 | Affected | Not stated | redhat |
| Oracle Linux | 8 | oddjobaarch64 | Advisory build | 0:0.34.5-3.el8 | ELSA-2020-4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjobaarch64 | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oddjobaarch64 | Advisory build | 0.34.5-1.9 | OPENSUSE-SU-2024:11109-1 |
| Ubuntu | bionic | oddjob | Advisory build | 0.34.3-4ubuntu0.1~esm1 | USN-5169-1 |
| Oracle Linux | 8 | oddjobx86_64 | Advisory build | 0:0.34.5-3.el8 | ELSA-2020-4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjobppc64le | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjobs390x | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
Show 32 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | oddjobsrc | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjobx86_64 | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oddjobppc64le | Advisory build | 0.34.5-1.9 | OPENSUSE-SU-2024:11109-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oddjobs390x | Advisory build | 0.34.5-1.9 | OPENSUSE-SU-2024:11109-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oddjobx86_64 | Advisory build | 0.34.5-1.9 | OPENSUSE-SU-2024:11109-1 |
| Ubuntu | focal | oddjob | Advisory build | 0.34.4-1ubuntu0.1~esm1 | USN-5169-1 |
| Ubuntu | xenial | oddjob | Advisory build | 0.34.3-2ubuntu0.1~esm1 | USN-5169-1 |
| Oracle Linux | 8 | oddjob-mkhomediraarch64 | Advisory build | 0:0.34.5-3.el8 | ELSA-2020-4687 |
| Oracle Linux | 8 | oddjob-mkhomedirx86_64 | Advisory build | 0:0.34.5-3.el8 | ELSA-2020-4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-debuginfoaarch64 | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-debuginfoppc64le | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-debuginfos390x | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-debuginfox86_64 | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-debugsourceaarch64 | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-debugsourceppc64le | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-debugsources390x | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-debugsourcex86_64 | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-mkhomediraarch64 | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-mkhomedirppc64le | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-mkhomedirs390x | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-mkhomedirx86_64 | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-mkhomedir-debuginfoaarch64 | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-mkhomedir-debuginfoppc64le | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-mkhomedir-debuginfos390x | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| Red Hat Enterprise Linux | RHEL-8 | oddjob-mkhomedir-debuginfox86_64 | Advisory build | 0.34.5-3.el8 | RHSA-2020:4687 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oddjob-mkhomediraarch64 | Advisory build | 0.34.5-1.9 | OPENSUSE-SU-2024:11109-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oddjob-mkhomedirppc64le | Advisory build | 0.34.5-1.9 | OPENSUSE-SU-2024:11109-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oddjob-mkhomedirs390x | Advisory build | 0.34.5-1.9 | OPENSUSE-SU-2024:11109-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oddjob-mkhomedirx86_64 | Advisory build | 0.34.5-1.9 | OPENSUSE-SU-2024:11109-1 |
| Ubuntu | bionic | oddjob-mkhomedir | Advisory build | 0.34.3-4ubuntu0.1~esm1 | USN-5169-1 |
| Ubuntu | focal | oddjob-mkhomedir | Advisory build | 0.34.4-1ubuntu0.1~esm1 | USN-5169-1 |
| Ubuntu | xenial | oddjob-mkhomedir | Advisory build | 0.34.3-2ubuntu0.1~esm1 | USN-5169-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | oddjob | before 0.34.5 (affected)before 0.34.6 (affected) | redhat · cna |
Weaknesses
1- CWE-362
References
2Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a9aed79dd24c0eec957d6e9c4e72618d93a7534512f9f481ce939dfb639dff65
- Ingested
- 23 Sep 2026, 07:48:11 UTC
- Source record
- Official CVE record