CVE-2020-10737 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 t...
MediumCVSS 6.3
EPSS 0.29%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
7 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/oddjob(Debian 12) | < 0.34.6-1 | 0.34.6-1 | Fixed |
| debian/oddjob(Debian 13) | < 0.34.6-1 | 0.34.6-1 | Fixed |
| debian/oddjob(Debian 14) | < 0.34.6-1 | 0.34.6-1 | Fixed |
| redhat oddjob | < 0.34.5; = before 0.34.5; = before 0.34.6 | 0.34.5 | Fixed |
| ubuntu/oddjob(Ubuntu Pro 16.04) | < 0.34.3-2ubuntu0.1~esm1; = 0.34.3-1; = 0.34.3-2 | 0.34.3-2ubuntu0.1~esm1 | Fixed |
| ubuntu/oddjob(Ubuntu Pro 18.04) | < 0.34.3-4ubuntu0.1~esm1; = 0.34.3-4 | 0.34.3-4ubuntu0.1~esm1 | Fixed |
| ubuntu/oddjob(Ubuntu Pro 20.04) | < 0.34.4-1ubuntu0.1~esm1; = 0.34.4-1 | 0.34.4-1ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/oddjob(Debian:12) | < 0.34.6-1 | 0.34.6-1 |
| debian/oddjob(Debian:13) | < 0.34.6-1 | 0.34.6-1 |
| debian/oddjob(Debian:14) | < 0.34.6-1 | 0.34.6-1 |
| redhat oddjob | < 0.34.5 | 0.34.5 |
| redhat oddjob | = before 0.34.5 | No fix listed |
| redhat oddjob | = before 0.34.6 | No fix listed |
| ubuntu/oddjob(Ubuntu:Pro:16.04) | < 0.34.3-2ubuntu0.1~esm1 | 0.34.3-2ubuntu0.1~esm1 |
| ubuntu/oddjob(Ubuntu:Pro:16.04) | = 0.34.3-1 | No fix listed |
| ubuntu/oddjob(Ubuntu:Pro:16.04) | = 0.34.3-2 | No fix listed |
| ubuntu/oddjob(Ubuntu:Pro:18.04) | < 0.34.3-4ubuntu0.1~esm1 | 0.34.3-4ubuntu0.1~esm1 |
| ubuntu/oddjob(Ubuntu:Pro:18.04) | = 0.34.3-4 | No fix listed |
| ubuntu/oddjob(Ubuntu:Pro:20.04) | < 0.34.4-1ubuntu0.1~esm1 | 0.34.4-1ubuntu0.1~esm1 |
| ubuntu/oddjob(Ubuntu:Pro:20.04) | = 0.34.4-1 | No fix listed |
References
- Debian Security Tracker CVE-2020-10737 vendor-advisory
- bugzilla.redhat.com issue-tracking vendor-advisory
- pagure.io patch third-party-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- pagure.io issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking