CVE-2020-10737
Published: 27 May 2020
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.
Priority
Status
Package | Release | Status |
---|---|---|
oddjob Launchpad, Ubuntu, Debian |
bionic |
Released
(0.34.3-4ubuntu0.1~esm1)
Available with Ubuntu Pro |
eoan |
Ignored
(end of life)
|
|
focal |
Released
(0.34.4-1ubuntu0.1~esm1)
Available with Ubuntu Pro |
|
groovy |
Not vulnerable
(0.34.6-1)
|
|
hirsute |
Not vulnerable
(0.34.6-1)
|
|
impish |
Not vulnerable
(0.34.6-1)
|
|
jammy |
Not vulnerable
(0.34.6-1)
|
|
kinetic |
Not vulnerable
(0.34.6-1)
|
|
lunar |
Not vulnerable
(0.34.6-1)
|
|
mantic |
Not vulnerable
(0.34.6-1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(0.34.5)
|
|
xenial |
Released
(0.34.3-2ubuntu0.1~esm1)
Available with Ubuntu Pro |
|
Patches: upstream: https://pagure.io/oddjob/c/10b8aaa1564b723a005b53acc069df71313f4cac |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.3 |
Attack vector | Local |
Attack complexity | High |
Privileges required | High |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |