Vulnerability · Published May 27, 2020 · Assigned by redhat
CVE-2020-10737
Medium 6.3
In plain English
A medium-severity race condition in oddjob from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | oddjob | 0.34.6-1 | DEBIAN-CVE-2020-10737 |
| Debian:13 | oddjob | 0.34.6-1 | DEBIAN-CVE-2020-10737 |
| Debian:14 | oddjob | 0.34.6-1 | DEBIAN-CVE-2020-10737 |
Affected products (as reported)
Weakness: CWE-362 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H